<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>bfpy.bfservice</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="bfpy-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/bfpy/">BfPy</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="bfpy-module.html">Package&nbsp;bfpy</a> ::
        Module&nbsp;bfservice
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="bfpy.bfservice-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="bfpy.bfservice-module.html">Module bfpy.bfservice</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-comment">#!/usr/bin/env python</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-comment"># -*- coding: latin-1; py-indent-offset:4 -*-</tt> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-comment">################################################################################</tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-comment"># </tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt class="py-comment"># This file is part of BfPy</tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-comment"># BfPy is a Python library to communicate with the Betfair Betting Exchange</tt> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"><tt class="py-comment"># Copyright (C) 2010 Daniel Rodriguez (aka Daniel Rodriksson)</tt> </tt>
<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"><tt class="py-comment"># Copyright (C) 2011 Sensible Odds Ltd.</tt> </tt>
<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line"><tt class="py-comment"># You can learn more and contact the author at:</tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line"><tt class="py-comment">#    http://code.google.com/p/bfpy/</tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"><tt class="py-comment"># BfPy is free software: you can redistribute it and/or modify</tt> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"><tt class="py-comment"># it under the terms of the GNU General Public License as published by</tt> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line"><tt class="py-comment"># the Free Software Foundation, either version 3 of the License, or</tt> </tt>
<a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line"><tt class="py-comment"># (at your option) any later version.</tt> </tt>
<a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line"><tt class="py-comment"># BfPy is distributed in the hope that it will be useful,</tt> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line"><tt class="py-comment"># but WITHOUT ANY WARRANTY; without even the implied warranty of</tt> </tt>
<a name="L22"></a><tt class="py-lineno"> 22</tt>  <tt class="py-line"><tt class="py-comment"># MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</tt> </tt>
<a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line"><tt class="py-comment"># GNU General Public License for more details.</tt> </tt>
<a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line"><tt class="py-comment"># You should have received a copy of the GNU General Public License</tt> </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line"><tt class="py-comment"># along with BfPy. If not, see &lt;http://www.gnu.org/licenses/&gt;.</tt> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line"><tt class="py-comment">################################################################################</tt> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line"><tt class="py-docstring">'''</tt> </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line"><tt class="py-docstring">Definition of services and metaclass to install them in an API provider</tt> </tt>
<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line"><tt class="py-docstring">'''</tt> </tt>
<a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">__future__</tt> <tt class="py-keyword">import</tt> <tt class="py-name">with_statement</tt> </tt>
<a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line"> </tt>
<a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">types</tt> </tt>
<a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line"> </tt>
<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-0" class="py-name" targets="Module bfpy.bferror=bfpy.bferror-module.html"><a title="bfpy.bferror" class="py-name" href="#" onclick="return doclink('link-0', 'bferror', 'link-0');">bferror</a></tt> </tt>
<a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-1" class="py-name" targets="Module bfpy.bfglobals=bfpy.bfglobals-module.html"><a title="bfpy.bfglobals" class="py-name" href="#" onclick="return doclink('link-1', 'bfglobals', 'link-1');">bfglobals</a></tt> </tt>
<a name="L38"></a><tt class="py-lineno"> 38</tt>  <tt class="py-line"> </tt>
<a name="ServiceDescriptor"></a><div id="ServiceDescriptor-def"><a name="L39"></a><tt class="py-lineno"> 39</tt> <a class="py-toggle" href="#" id="ServiceDescriptor-toggle" onclick="return toggle('ServiceDescriptor');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="bfpy.bfservice.ServiceDescriptor-class.html">ServiceDescriptor</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ServiceDescriptor-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="ServiceDescriptor-expanded"><a name="L40"></a><tt class="py-lineno"> 40</tt>  <tt class="py-line">    <tt class="py-docstring">'''</tt> </tt>
<a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line"><tt class="py-docstring">    Base abstract descriptor class for the implementation of the methods</tt> </tt>
<a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line"><tt class="py-docstring">    provided by the Betfair API</tt> </tt>
<a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line"><tt class="py-docstring">    @ivar _instanceCache: cache holding a copy of the method served to instances</tt> </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line"><tt class="py-docstring">    @type _instanceCache: dict of methods</tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line"><tt class="py-docstring">    @ivar methodName: name the descriptor will be invoked by</tt> </tt>
<a name="L47"></a><tt class="py-lineno"> 47</tt>  <tt class="py-line"><tt class="py-docstring">    @type methodName: str</tt> </tt>
<a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line"><tt class="py-docstring">    @ivar kwargs: extra variables passed to the method</tt> </tt>
<a name="L49"></a><tt class="py-lineno"> 49</tt>  <tt class="py-line"><tt class="py-docstring">    @type kwargs: dict</tt> </tt>
<a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line"><tt class="py-docstring">    '''</tt> </tt>
<a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line">     </tt>
<a name="ServiceDescriptor.__init__"></a><div id="ServiceDescriptor.__init__-def"><a name="L52"></a><tt class="py-lineno"> 52</tt> <a class="py-toggle" href="#" id="ServiceDescriptor.__init__-toggle" onclick="return toggle('ServiceDescriptor.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="bfpy.bfservice.ServiceDescriptor-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">methodName</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ServiceDescriptor.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ServiceDescriptor.__init__-expanded"><a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line">        <tt class="py-docstring">'''</tt> </tt>
<a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line"><tt class="py-docstring">        Initialize the cache of instances and make a copy of the extra arguments</tt> </tt>
<a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line"><tt class="py-docstring">        @param methodName: name the descriptor will be invoked by</tt> </tt>
<a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line"><tt class="py-docstring">        @type methodName: str</tt> </tt>
<a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line"><tt class="py-docstring">        @param kwargs: extra variables passed to the method</tt> </tt>
<a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line"><tt class="py-docstring">        @type kwargs: dict</tt> </tt>
<a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line"><tt class="py-docstring">        '''</tt> </tt>
<a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__name__</tt> <tt class="py-op">=</tt> <tt class="py-string">'_'</tt> <tt class="py-op">+</tt> <tt class="py-name">methodName</tt> <tt class="py-op">+</tt> <tt class="py-string">'_'</tt> </tt>
<a name="L62"></a><tt class="py-lineno"> 62</tt>  <tt class="py-line">         </tt>
<a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">methodName</tt> <tt class="py-op">=</tt> <tt class="py-name">methodName</tt> </tt>
<a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">         </tt>
<a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line">        <tt class="py-comment"># Cache for descriptor calls</tt> </tt>
<a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_instanceCache</tt> <tt class="py-op">=</tt> <tt class="py-name">dict</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line"> </tt>
<a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line">        <tt class="py-comment"># Extra arguments for calls</tt> </tt>
<a name="L69"></a><tt class="py-lineno"> 69</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">kwargs</tt> <tt class="py-op">=</tt> <tt class="py-name">kwargs</tt> </tt>
</div><a name="L70"></a><tt class="py-lineno"> 70</tt>  <tt class="py-line"> </tt>
<a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line"> </tt>
<a name="ServiceDescriptor.__get__"></a><div id="ServiceDescriptor.__get__-def"><a name="L72"></a><tt class="py-lineno"> 72</tt> <a class="py-toggle" href="#" id="ServiceDescriptor.__get__-toggle" onclick="return toggle('ServiceDescriptor.__get__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="bfpy.bfservice.ServiceDescriptor-class.html#__get__">__get__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">instance</tt><tt class="py-op">,</tt> <tt class="py-param">owner</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ServiceDescriptor.__get__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ServiceDescriptor.__get__-expanded"><a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line">        <tt class="py-docstring">'''</tt> </tt>
<a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line"><tt class="py-docstring">        Non-data descriptor implementation.</tt> </tt>
<a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line"><tt class="py-docstring">        It returns a method type pointing to itself. This forces the invocation</tt> </tt>
<a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line"><tt class="py-docstring">        of __call__</tt> </tt>
<a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line"><tt class="py-docstring">        '''</tt> </tt>
<a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_instanceCache</tt><tt class="py-op">.</tt><tt class="py-name">setdefault</tt><tt class="py-op">(</tt><tt class="py-name">instance</tt><tt class="py-op">,</tt> <tt class="py-name">types</tt><tt class="py-op">.</tt><tt class="py-name">MethodType</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">instance</tt><tt class="py-op">,</tt> <tt class="py-name">owner</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line"> </tt>
<a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line"> </tt>
<a name="ServiceDescriptor.__call__"></a><div id="ServiceDescriptor.__call__-def"><a name="L82"></a><tt class="py-lineno"> 82</tt> <a class="py-toggle" href="#" id="ServiceDescriptor.__call__-toggle" onclick="return toggle('ServiceDescriptor.__call__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="bfpy.bfservice.ServiceDescriptor-class.html#__call__">__call__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ServiceDescriptor.__call__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ServiceDescriptor.__call__-expanded"><a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line">        <tt class="py-docstring">'''</tt> </tt>
<a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line"><tt class="py-docstring">        Pure virtual function to be implemented by Service implementation classes</tt> </tt>
<a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line"><tt class="py-docstring">        @raise NotImplemented: pure virtual function</tt> </tt>
<a name="L87"></a><tt class="py-lineno"> 87</tt>  <tt class="py-line"><tt class="py-docstring">        '''</tt> </tt>
<a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line">        <tt class="py-keyword">raise</tt> <tt class="py-name">NotImplemented</tt> </tt>
</div></div><a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line"> </tt>
<a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line"> </tt>
<a name="ServiceDef"></a><div id="ServiceDef-def"><a name="L91"></a><tt class="py-lineno"> 91</tt> <a class="py-toggle" href="#" id="ServiceDef-toggle" onclick="return toggle('ServiceDef');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="bfpy.bfservice.ServiceDef-class.html">ServiceDef</a><tt class="py-op">(</tt><tt class="py-base-class">ServiceDescriptor</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ServiceDef-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="ServiceDef-expanded"><a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line">    <tt class="py-docstring">'''</tt> </tt>
<a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line"><tt class="py-docstring">    Definition and implementation of a service. The definition includes the</tt> </tt>
<a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line"><tt class="py-docstring">    name of the method, the service name, endPoint to go to, name of the request</tt> </tt>
<a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line"><tt class="py-docstring">    argument (and if an API header has to be added to it) and error codes that</tt> </tt>
<a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line"><tt class="py-docstring">    should be skipped, together with a list of post processing callables.</tt> </tt>
<a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line"><tt class="py-docstring">    The service name can be derived from the methodName and so can the</tt> </tt>
<a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line"><tt class="py-docstring">    requestName from the methodName. This is due to the regularity of many</tt> </tt>
<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line"><tt class="py-docstring">    services in the Betfair API.</tt> </tt>
<a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line"><tt class="py-docstring">    Some of the Betfair API errorCodes are indications and that is why they</tt> </tt>
<a name="L103"></a><tt class="py-lineno">103</tt>  <tt class="py-line"><tt class="py-docstring">    can be skipped. This also serves to delay checking for wrongly served</tt> </tt>
<a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line"><tt class="py-docstring">    errorCodes (INVALID_MARKET instead of MARKET_CLOSED in</tt> </tt>
<a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line"><tt class="py-docstring">    getMarketProfitAndLoss)</tt> </tt>
<a name="L106"></a><tt class="py-lineno">106</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line"><tt class="py-docstring">    The extra (kwargs) held by the parent class, allows the provision of</tt> </tt>
<a name="L108"></a><tt class="py-lineno">108</tt>  <tt class="py-line"><tt class="py-docstring">    default values for arguments to a method, so the user will not need</tt> </tt>
<a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line"><tt class="py-docstring">    to provide them. This feature also covers the problem that some</tt> </tt>
<a name="L110"></a><tt class="py-lineno">110</tt>  <tt class="py-line"><tt class="py-docstring">    parameters are signaled as optional in the Betfair documentation when</tt> </tt>
<a name="L111"></a><tt class="py-lineno">111</tt>  <tt class="py-line"><tt class="py-docstring">    they are not. If the user does not provide them the default value will</tt> </tt>
<a name="L112"></a><tt class="py-lineno">112</tt>  <tt class="py-line"><tt class="py-docstring">    be applied.</tt> </tt>
<a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L114"></a><tt class="py-lineno">114</tt>  <tt class="py-line"><tt class="py-docstring">    @ivar endPoint: location endPoint of the service (0 Global, 1 Exchange)</tt> </tt>
<a name="L115"></a><tt class="py-lineno">115</tt>  <tt class="py-line"><tt class="py-docstring">    @type endPoint: int</tt> </tt>
<a name="L116"></a><tt class="py-lineno">116</tt>  <tt class="py-line"><tt class="py-docstring">    @ivar methodName: name the method will be invoked by</tt> </tt>
<a name="L117"></a><tt class="py-lineno">117</tt>  <tt class="py-line"><tt class="py-docstring">    @type methodName: str</tt> </tt>
<a name="L118"></a><tt class="py-lineno">118</tt>  <tt class="py-line"><tt class="py-docstring">    @ivar serviceName: name of the service to invoke</tt> </tt>
<a name="L119"></a><tt class="py-lineno">119</tt>  <tt class="py-line"><tt class="py-docstring">    @type serviceName: str</tt> </tt>
<a name="L120"></a><tt class="py-lineno">120</tt>  <tt class="py-line"><tt class="py-docstring">    @ivar requestName: name of the request to pass to the service</tt> </tt>
<a name="L121"></a><tt class="py-lineno">121</tt>  <tt class="py-line"><tt class="py-docstring">    @type requestName: str</tt> </tt>
<a name="L122"></a><tt class="py-lineno">122</tt>  <tt class="py-line"><tt class="py-docstring">    @ivar apiHeader: whether to add an API header to the request</tt> </tt>
<a name="L123"></a><tt class="py-lineno">123</tt>  <tt class="py-line"><tt class="py-docstring">    @type apiHeader: bool</tt> </tt>
<a name="L124"></a><tt class="py-lineno">124</tt>  <tt class="py-line"><tt class="py-docstring">    @ivar skipErrorCodes: errorCodes that will not signal an error</tt> </tt>
<a name="L125"></a><tt class="py-lineno">125</tt>  <tt class="py-line"><tt class="py-docstring">    @type skipErrorCodes: list</tt> </tt>
<a name="L126"></a><tt class="py-lineno">126</tt>  <tt class="py-line"><tt class="py-docstring">    @ivar preProc: callables that will pre process a service request</tt> </tt>
<a name="L127"></a><tt class="py-lineno">127</tt>  <tt class="py-line"><tt class="py-docstring">    @type preProc: list</tt> </tt>
<a name="L128"></a><tt class="py-lineno">128</tt>  <tt class="py-line"><tt class="py-docstring">    @ivar postProc: callables that will post process a service response</tt> </tt>
<a name="L129"></a><tt class="py-lineno">129</tt>  <tt class="py-line"><tt class="py-docstring">    @type postProc: list</tt> </tt>
<a name="L130"></a><tt class="py-lineno">130</tt>  <tt class="py-line"><tt class="py-docstring">    '''</tt> </tt>
<a name="L131"></a><tt class="py-lineno">131</tt>  <tt class="py-line"> </tt>
<a name="ServiceDef.__init__"></a><div id="ServiceDef.__init__-def"><a name="L132"></a><tt class="py-lineno">132</tt> <a class="py-toggle" href="#" id="ServiceDef.__init__-toggle" onclick="return toggle('ServiceDef.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="bfpy.bfservice.ServiceDef-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">endPoint</tt><tt class="py-op">,</tt> </tt>
<a name="L133"></a><tt class="py-lineno">133</tt>  <tt class="py-line">                 <tt class="py-param">methodName</tt><tt class="py-op">,</tt> <tt class="py-param">serviceName</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">requestName</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
<a name="L134"></a><tt class="py-lineno">134</tt>  <tt class="py-line">                 <tt class="py-param">apiHeader</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">,</tt> <tt class="py-param">skipErrorCodes</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
<a name="L135"></a><tt class="py-lineno">135</tt>  <tt class="py-line">                 <tt class="py-param">preProc</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">postProc</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">weight</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> </tt>
<a name="L136"></a><tt class="py-lineno">136</tt>  <tt class="py-line">                 <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ServiceDef.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ServiceDef.__init__-expanded"><a name="L137"></a><tt class="py-lineno">137</tt>  <tt class="py-line">        <tt class="py-docstring">'''</tt> </tt>
<a name="L138"></a><tt class="py-lineno">138</tt>  <tt class="py-line"><tt class="py-docstring">        Initializes the service and variables</tt> </tt>
<a name="L139"></a><tt class="py-lineno">139</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L140"></a><tt class="py-lineno">140</tt>  <tt class="py-line"><tt class="py-docstring">        @param endPoint: location endPoint of the service (0 Global, 1 Exchange)</tt> </tt>
<a name="L141"></a><tt class="py-lineno">141</tt>  <tt class="py-line"><tt class="py-docstring">        @type endPoint: int</tt> </tt>
<a name="L142"></a><tt class="py-lineno">142</tt>  <tt class="py-line"><tt class="py-docstring">        @param methodName: name the method will be invoked by</tt> </tt>
<a name="L143"></a><tt class="py-lineno">143</tt>  <tt class="py-line"><tt class="py-docstring">        @type methodName: str</tt> </tt>
<a name="L144"></a><tt class="py-lineno">144</tt>  <tt class="py-line"><tt class="py-docstring">        @param serviceName: name of the service to invoke</tt> </tt>
<a name="L145"></a><tt class="py-lineno">145</tt>  <tt class="py-line"><tt class="py-docstring">        @type serviceName: str</tt> </tt>
<a name="L146"></a><tt class="py-lineno">146</tt>  <tt class="py-line"><tt class="py-docstring">        @param requestName: name of the request to pass to the service</tt> </tt>
<a name="L147"></a><tt class="py-lineno">147</tt>  <tt class="py-line"><tt class="py-docstring">        @type requestName: str</tt> </tt>
<a name="L148"></a><tt class="py-lineno">148</tt>  <tt class="py-line"><tt class="py-docstring">        @param apiHeader: whether to add an API header to the request</tt> </tt>
<a name="L149"></a><tt class="py-lineno">149</tt>  <tt class="py-line"><tt class="py-docstring">        @type apiHeader: bool</tt> </tt>
<a name="L150"></a><tt class="py-lineno">150</tt>  <tt class="py-line"><tt class="py-docstring">        @param skipErrorCodes: errorCodes that will not signal an error</tt> </tt>
<a name="L151"></a><tt class="py-lineno">151</tt>  <tt class="py-line"><tt class="py-docstring">        @type skipErrorCodes: list</tt> </tt>
<a name="L152"></a><tt class="py-lineno">152</tt>  <tt class="py-line"><tt class="py-docstring">        @param preProc: callables that will pre process a service request</tt> </tt>
<a name="L153"></a><tt class="py-lineno">153</tt>  <tt class="py-line"><tt class="py-docstring">        @type preProc: list</tt> </tt>
<a name="L154"></a><tt class="py-lineno">154</tt>  <tt class="py-line"><tt class="py-docstring">        @param postProc: callables that will post process a service response</tt> </tt>
<a name="L155"></a><tt class="py-lineno">155</tt>  <tt class="py-line"><tt class="py-docstring">        @type postProc: list</tt> </tt>
<a name="L156"></a><tt class="py-lineno">156</tt>  <tt class="py-line"><tt class="py-docstring">        @param weight: weight count into data charges. Negative values are assumed</tt> </tt>
<a name="L157"></a><tt class="py-lineno">157</tt>  <tt class="py-line"><tt class="py-docstring">                       to be multiplied by 5 (and passed as positive)</tt> </tt>
<a name="L158"></a><tt class="py-lineno">158</tt>  <tt class="py-line"><tt class="py-docstring">        @type weight: int</tt> </tt>
<a name="L159"></a><tt class="py-lineno">159</tt>  <tt class="py-line"><tt class="py-docstring">        @param kwargs: extra arguments (with values) to pass to the method</tt> </tt>
<a name="L160"></a><tt class="py-lineno">160</tt>  <tt class="py-line"><tt class="py-docstring">        @type kwargs: dict</tt> </tt>
<a name="L161"></a><tt class="py-lineno">161</tt>  <tt class="py-line"><tt class="py-docstring">        '''</tt> </tt>
<a name="L162"></a><tt class="py-lineno">162</tt>  <tt class="py-line">        <tt id="link-2" class="py-name" targets="Class bfpy.bfservice.ServiceDescriptor=bfpy.bfservice.ServiceDescriptor-class.html"><a title="bfpy.bfservice.ServiceDescriptor" class="py-name" href="#" onclick="return doclink('link-2', 'ServiceDescriptor', 'link-2');">ServiceDescriptor</a></tt><tt class="py-op">.</tt><tt id="link-3" class="py-name" targets="Method bfpy.bfapi.BfApi.MinStake.__init__()=bfpy.bfapi.BfApi.MinStake-class.html#__init__,Method bfpy.bfapi.BfApi.__init__()=bfpy.bfapi.BfApi-class.html#__init__,Method bfpy.bfapicalls.ApiCall.__init__()=bfpy.bfapicalls.ApiCall-class.html#__init__,Method bfpy.bfapicalls.ApiCallExchange.__init__()=bfpy.bfapicalls.ApiCallExchange-class.html#__init__,Method bfpy.bfapicalls.ApiCallGlobal.__init__()=bfpy.bfapicalls.ApiCallGlobal-class.html#__init__,Method bfpy.bfapicalls.ApiCallVendor.__init__()=bfpy.bfapicalls.ApiCallVendor-class.html#__init__,Method bfpy.bfclient.BfClient.__init__()=bfpy.bfclient.BfClient-class.html#__init__,Method bfpy.bfclientext.GetCurrentBets.__init__()=bfpy.bfclientext.GetCurrentBets-class.html#__init__,Method bfpy.bfclientext.GetEvents.__init__()=bfpy.bfclientext.GetEvents-class.html#__init__,Method bfpy.bfclientext.PlaceBets.__init__()=bfpy.bfclientext.PlaceBets-class.html#__init__,Method bfpy.bfcounter.DataCounter.__init__()=bfpy.bfcounter.DataCounter-class.html#__init__,Method bfpy.bfcounter.DataRequest.__init__()=bfpy.bfcounter.DataRequest-class.html#__init__,Method bfpy.bfdirect.ApiService.__init__()=bfpy.bfdirect.ApiService-class.html#__init__,Method bfpy.bferror.BfApiError.__init__()=bfpy.bferror.BfApiError-class.html#__init__,Method bfpy.bferror.BfApplicationError.__init__()=bfpy.bferror.BfApplicationError-class.html#__init__,Method bfpy.bferror.BfBetfairError.__init__()=bfpy.bferror.BfBetfairError-class.html#__init__,Method bfpy.bferror.BfError.__init__()=bfpy.bferror.BfError-class.html#__init__,Method bfpy.bferror.BfHtmlError.__init__()=bfpy.bferror.BfHtmlError-class.html#__init__,Method bfpy.bferror.BfHttpError.__init__()=bfpy.bferror.BfHttpError-class.html#__init__,Method bfpy.bferror.BfNetworkError.__init__()=bfpy.bferror.BfNetworkError-class.html#__init__,Method bfpy.bferror.BfPythonError.__init__()=bfpy.bferror.BfPythonError-class.html#__init__,Method bfpy.bferror.BfServiceError.__init__()=bfpy.bferror.BfServiceError-class.html#__init__,Method bfpy.bferror.BfTransportError.__init__()=bfpy.bferror.BfTransportError-class.html#__init__,Method bfpy.bfprocessors.ArrayFix.__init__()=bfpy.bfprocessors.ArrayFix-class.html#__init__,Method bfpy.bfprocessors.ProcMarketPricesCompressed.__init__()=bfpy.bfprocessors.ProcMarketPricesCompressed-class.html#__init__,Method bfpy.bfservice.ExchangeObject.__init__()=bfpy.bfservice.ExchangeObject-class.html#__init__,Method bfpy.bfservice.ExchangeServiceDef.__init__()=bfpy.bfservice.ExchangeServiceDef-class.html#__init__,Method bfpy.bfservice.GlobalObject.__init__()=bfpy.bfservice.GlobalObject-class.html#__init__,Method bfpy.bfservice.GlobalServiceDef.__init__()=bfpy.bfservice.GlobalServiceDef-class.html#__init__,Method bfpy.bfservice.ServiceDef.__init__()=bfpy.bfservice.ServiceDef-class.html#__init__,Method bfpy.bfservice.ServiceDescriptor.__init__()=bfpy.bfservice.ServiceDescriptor-class.html#__init__,Method bfpy.bfservice.ServiceObject.__init__()=bfpy.bfservice.ServiceObject-class.html#__init__,Method bfpy.bfservice.VendorObject.__init__()=bfpy.bfservice.VendorObject-class.html#__init__,Method bfpy.bfservice.VendorServiceDef.__init__()=bfpy.bfservice.VendorServiceDef-class.html#__init__,Method bfpy.bftimezone.LocalTimezone.__init__()=bfpy.bftimezone.LocalTimezone-class.html#__init__,Method bfpy.bftransport.BfTransport.__init__()=bfpy.bftransport.BfTransport-class.html#__init__,Method bfpy.bftransport.BfTransportError.__init__()=bfpy.bftransport.BfTransportError-class.html#__init__,Method bfpy.bftransport.BfTransportHtmlError.__init__()=bfpy.bftransport.BfTransportHtmlError-class.html#__init__,Method bfpy.bftransport.BfTransportHttpError.__init__()=bfpy.bftransport.BfTransportHttpError-class.html#__init__,Method bfpy.bftransport.BfTransportReply.__init__()=bfpy.bftransport.BfTransportReply-class.html#__init__,Method bfpy.bftransport.BfTransportRequest.__init__()=bfpy.bftransport.BfTransportRequest-class.html#__init__,Method bfpy.bftransport.BfTransportSocketError.__init__()=bfpy.bftransport.BfTransportSocketError-class.html#__init__,Method bfpy.bftypes.APIRequestHeader.__init__()=bfpy.bftypes.APIRequestHeader-class.html#__init__,Method bfpy.bftypes.AddPaymentCardReq.__init__()=bfpy.bftypes.AddPaymentCardReq-class.html#__init__,Method bfpy.bftypes.ApiDataType.__init__()=bfpy.bftypes.ApiDataType-class.html#__init__,Method bfpy.bftypes.ApiParam.__init__()=bfpy.bftypes.ApiParam-class.html#__init__,Method bfpy.bftypes.CancelBets.__init__()=bfpy.bftypes.CancelBets-class.html#__init__,Method bfpy.bftypes.CancelBetsByMarketReq.__init__()=bfpy.bftypes.CancelBetsByMarketReq-class.html#__init__,Method bfpy.bftypes.CancelBetsReq.__init__()=bfpy.bftypes.CancelBetsReq-class.html#__init__,Method bfpy.bftypes.CancelVendorAccessRequestReq.__init__()=bfpy.bftypes.CancelVendorAccessRequestReq-class.html#__init__,Method bfpy.bftypes.ConvertCurrencyReq.__init__()=bfpy.bftypes.ConvertCurrencyReq-class.html#__init__,Method bfpy.bftypes.CreateVendorAccessRequestReq.__init__()=bfpy.bftypes.CreateVendorAccessRequestReq-class.html#__init__,Method bfpy.bftypes.DeletePaymentCardReq.__init__()=bfpy.bftypes.DeletePaymentCardReq-class.html#__init__,Method bfpy.bftypes.DepositFromPaymentCardReq.__init__()=bfpy.bftypes.DepositFromPaymentCardReq-class.html#__init__,Method bfpy.bftypes.ForgotPasswordReq.__init__()=bfpy.bftypes.ForgotPasswordReq-class.html#__init__,Method bfpy.bftypes.GetAccountFundsReq.__init__()=bfpy.bftypes.GetAccountFundsReq-class.html#__init__,Method bfpy.bftypes.GetAccountStatementReq.__init__()=bfpy.bftypes.GetAccountStatementReq-class.html#__init__,Method bfpy.bftypes.GetAllMarketsReq.__init__()=bfpy.bftypes.GetAllMarketsReq-class.html#__init__,Method bfpy.bftypes.GetBetHistoryReq.__init__()=bfpy.bftypes.GetBetHistoryReq-class.html#__init__,Method bfpy.bftypes.GetBetLiteReq.__init__()=bfpy.bftypes.GetBetLiteReq-class.html#__init__,Method bfpy.bftypes.GetBetMatchesLiteReq.__init__()=bfpy.bftypes.GetBetMatchesLiteReq-class.html#__init__,Method bfpy.bftypes.GetBetReq.__init__()=bfpy.bftypes.GetBetReq-class.html#__init__,Method bfpy.bftypes.GetCompleteMarketPricesCompressedReq.__init__()=bfpy.bftypes.GetCompleteMarketPricesCompressedReq-class.html#__init__,Method bfpy.bftypes.GetCurrenciesReq.__init__()=bfpy.bftypes.GetCurrenciesReq-class.html#__init__,Method bfpy.bftypes.GetCurrenciesV2Req.__init__()=bfpy.bftypes.GetCurrenciesV2Req-class.html#__init__,Method bfpy.bftypes.GetCurrentBetsLiteReq.__init__()=bfpy.bftypes.GetCurrentBetsLiteReq-class.html#__init__,Method bfpy.bftypes.GetCurrentBetsReq.__init__()=bfpy.bftypes.GetCurrentBetsReq-class.html#__init__,Method bfpy.bftypes.GetDetailedAvailableMktDepthReq.__init__()=bfpy.bftypes.GetDetailedAvailableMktDepthReq-class.html#__init__,Method bfpy.bftypes.GetEventTypesReq.__init__()=bfpy.bftypes.GetEventTypesReq-class.html#__init__,Method bfpy.bftypes.GetEventsReq.__init__()=bfpy.bftypes.GetEventsReq-class.html#__init__,Method bfpy.bftypes.GetInPlayMarketsReq.__init__()=bfpy.bftypes.GetInPlayMarketsReq-class.html#__init__,Method bfpy.bftypes.GetMUBetsLiteReq.__init__()=bfpy.bftypes.GetMUBetsLiteReq-class.html#__init__,Method bfpy.bftypes.GetMUBetsReq.__init__()=bfpy.bftypes.GetMUBetsReq-class.html#__init__,Method bfpy.bftypes.GetMarketInfoReq.__init__()=bfpy.bftypes.GetMarketInfoReq-class.html#__init__,Method bfpy.bftypes.GetMarketPricesCompressedReq.__init__()=bfpy.bftypes.GetMarketPricesCompressedReq-class.html#__init__,Method bfpy.bftypes.GetMarketPricesReq.__init__()=bfpy.bftypes.GetMarketPricesReq-class.html#__init__,Method bfpy.bftypes.GetMarketProfitAndLossReq.__init__()=bfpy.bftypes.GetMarketProfitAndLossReq-class.html#__init__,Method bfpy.bftypes.GetMarketReq.__init__()=bfpy.bftypes.GetMarketReq-class.html#__init__,Method bfpy.bftypes.GetMarketTradedVolumeCompressedReq.__init__()=bfpy.bftypes.GetMarketTradedVolumeCompressedReq-class.html#__init__,Method bfpy.bftypes.GetMarketTradedVolumeReq.__init__()=bfpy.bftypes.GetMarketTradedVolumeReq-class.html#__init__,Method bfpy.bftypes.GetPaymentCardReq.__init__()=bfpy.bftypes.GetPaymentCardReq-class.html#__init__,Method bfpy.bftypes.GetPrivateMarketsReq.__init__()=bfpy.bftypes.GetPrivateMarketsReq-class.html#__init__,Method bfpy.bftypes.GetSilksReq.__init__()=bfpy.bftypes.GetSilksReq-class.html#__init__,Method bfpy.bftypes.GetSilksV2Req.__init__()=bfpy.bftypes.GetSilksV2Req-class.html#__init__,Method bfpy.bftypes.GetSubscriptionInfoReq.__init__()=bfpy.bftypes.GetSubscriptionInfoReq-class.html#__init__,Method bfpy.bftypes.GetVendorAccessRequestsReq.__init__()=bfpy.bftypes.GetVendorAccessRequestsReq-class.html#__init__,Method bfpy.bftypes.GetVendorInfoReq.__init__()=bfpy.bftypes.GetVendorInfoReq-class.html#__init__,Method bfpy.bftypes.GetVendorUsersReq.__init__()=bfpy.bftypes.GetVendorUsersReq-class.html#__init__,Method bfpy.bftypes.KeepAliveReq.__init__()=bfpy.bftypes.KeepAliveReq-class.html#__init__,Method bfpy.bftypes.LoginReq.__init__()=bfpy.bftypes.LoginReq-class.html#__init__,Method bfpy.bftypes.LogoutReq.__init__()=bfpy.bftypes.LogoutReq-class.html#__init__,Method bfpy.bftypes.ModifyPasswordReq.__init__()=bfpy.bftypes.ModifyPasswordReq-class.html#__init__,Method bfpy.bftypes.ModifyProfileReq.__init__()=bfpy.bftypes.ModifyProfileReq-class.html#__init__,Method bfpy.bftypes.PlaceBets.__init__()=bfpy.bftypes.PlaceBets-class.html#__init__,Method bfpy.bftypes.PlaceBetsReq.__init__()=bfpy.bftypes.PlaceBetsReq-class.html#__init__,Method bfpy.bftypes.RetrieveLIMBMessageReq.__init__()=bfpy.bftypes.RetrieveLIMBMessageReq-class.html#__init__,Method bfpy.bftypes.SelfExcludeReq.__init__()=bfpy.bftypes.SelfExcludeReq-class.html#__init__,Method bfpy.bftypes.SetChatNameReq.__init__()=bfpy.bftypes.SetChatNameReq-class.html#__init__,Method bfpy.bftypes.SubmitLIMBMessageReq.__init__()=bfpy.bftypes.SubmitLIMBMessageReq-class.html#__init__,Method bfpy.bftypes.TransferFundsReq.__init__()=bfpy.bftypes.TransferFundsReq-class.html#__init__,Method bfpy.bftypes.UpdateBets.__init__()=bfpy.bftypes.UpdateBets-class.html#__init__,Method bfpy.bftypes.UpdateBetsReq.__init__()=bfpy.bftypes.UpdateBetsReq-class.html#__init__,Method bfpy.bftypes.UpdatePaymentCardReq.__init__()=bfpy.bftypes.UpdatePaymentCardReq-class.html#__init__,Method bfpy.bftypes.VendorSubscriptionReq.__init__()=bfpy.bftypes.VendorSubscriptionReq-class.html#__init__,Method bfpy.bftypes.ViewProfileReq.__init__()=bfpy.bftypes.ViewProfileReq-class.html#__init__,Method bfpy.bftypes.ViewProfileV2Req.__init__()=bfpy.bftypes.ViewProfileV2Req-class.html#__init__,Method bfpy.bftypes.ViewReferAndEarnReq.__init__()=bfpy.bftypes.ViewReferAndEarnReq-class.html#__init__,Method bfpy.bftypes.WithdrawToPaymentCardReq.__init__()=bfpy.bftypes.WithdrawToPaymentCardReq-class.html#__init__,Method bfpy.bfutil.EmptyObject.__init__()=bfpy.bfutil.EmptyObject-class.html#__init__,Method bfpy.bfutil.FactoryClass.__init__()=bfpy.bfutil.FactoryClass-class.html#__init__,Method bfpy.bfutil.SharedData.__init__()=bfpy.bfutil.SharedData-class.html#__init__"><a title="bfpy.bfapi.BfApi.MinStake.__init__
bfpy.bfapi.BfApi.__init__
bfpy.bfapicalls.ApiCall.__init__
bfpy.bfapicalls.ApiCallExchange.__init__
bfpy.bfapicalls.ApiCallGlobal.__init__
bfpy.bfapicalls.ApiCallVendor.__init__
bfpy.bfclient.BfClient.__init__
bfpy.bfclientext.GetCurrentBets.__init__
bfpy.bfclientext.GetEvents.__init__
bfpy.bfclientext.PlaceBets.__init__
bfpy.bfcounter.DataCounter.__init__
bfpy.bfcounter.DataRequest.__init__
bfpy.bfdirect.ApiService.__init__
bfpy.bferror.BfApiError.__init__
bfpy.bferror.BfApplicationError.__init__
bfpy.bferror.BfBetfairError.__init__
bfpy.bferror.BfError.__init__
bfpy.bferror.BfHtmlError.__init__
bfpy.bferror.BfHttpError.__init__
bfpy.bferror.BfNetworkError.__init__
bfpy.bferror.BfPythonError.__init__
bfpy.bferror.BfServiceError.__init__
bfpy.bferror.BfTransportError.__init__
bfpy.bfprocessors.ArrayFix.__init__
bfpy.bfprocessors.ProcMarketPricesCompressed.__init__
bfpy.bfservice.ExchangeObject.__init__
bfpy.bfservice.ExchangeServiceDef.__init__
bfpy.bfservice.GlobalObject.__init__
bfpy.bfservice.GlobalServiceDef.__init__
bfpy.bfservice.ServiceDef.__init__
bfpy.bfservice.ServiceDescriptor.__init__
bfpy.bfservice.ServiceObject.__init__
bfpy.bfservice.VendorObject.__init__
bfpy.bfservice.VendorServiceDef.__init__
bfpy.bftimezone.LocalTimezone.__init__
bfpy.bftransport.BfTransport.__init__
bfpy.bftransport.BfTransportError.__init__
bfpy.bftransport.BfTransportHtmlError.__init__
bfpy.bftransport.BfTransportHttpError.__init__
bfpy.bftransport.BfTransportReply.__init__
bfpy.bftransport.BfTransportRequest.__init__
bfpy.bftransport.BfTransportSocketError.__init__
bfpy.bftypes.APIRequestHeader.__init__
bfpy.bftypes.AddPaymentCardReq.__init__
bfpy.bftypes.ApiDataType.__init__
bfpy.bftypes.ApiParam.__init__
bfpy.bftypes.CancelBets.__init__
bfpy.bftypes.CancelBetsByMarketReq.__init__
bfpy.bftypes.CancelBetsReq.__init__
bfpy.bftypes.CancelVendorAccessRequestReq.__init__
bfpy.bftypes.ConvertCurrencyReq.__init__
bfpy.bftypes.CreateVendorAccessRequestReq.__init__
bfpy.bftypes.DeletePaymentCardReq.__init__
bfpy.bftypes.DepositFromPaymentCardReq.__init__
bfpy.bftypes.ForgotPasswordReq.__init__
bfpy.bftypes.GetAccountFundsReq.__init__
bfpy.bftypes.GetAccountStatementReq.__init__
bfpy.bftypes.GetAllMarketsReq.__init__
bfpy.bftypes.GetBetHistoryReq.__init__
bfpy.bftypes.GetBetLiteReq.__init__
bfpy.bftypes.GetBetMatchesLiteReq.__init__
bfpy.bftypes.GetBetReq.__init__
bfpy.bftypes.GetCompleteMarketPricesCompressedReq.__init__
bfpy.bftypes.GetCurrenciesReq.__init__
bfpy.bftypes.GetCurrenciesV2Req.__init__
bfpy.bftypes.GetCurrentBetsLiteReq.__init__
bfpy.bftypes.GetCurrentBetsReq.__init__
bfpy.bftypes.GetDetailedAvailableMktDepthReq.__init__
bfpy.bftypes.GetEventTypesReq.__init__
bfpy.bftypes.GetEventsReq.__init__
bfpy.bftypes.GetInPlayMarketsReq.__init__
bfpy.bftypes.GetMUBetsLiteReq.__init__
bfpy.bftypes.GetMUBetsReq.__init__
bfpy.bftypes.GetMarketInfoReq.__init__
bfpy.bftypes.GetMarketPricesCompressedReq.__init__
bfpy.bftypes.GetMarketPricesReq.__init__
bfpy.bftypes.GetMarketProfitAndLossReq.__init__
bfpy.bftypes.GetMarketReq.__init__
bfpy.bftypes.GetMarketTradedVolumeCompressedReq.__init__
bfpy.bftypes.GetMarketTradedVolumeReq.__init__
bfpy.bftypes.GetPaymentCardReq.__init__
bfpy.bftypes.GetPrivateMarketsReq.__init__
bfpy.bftypes.GetSilksReq.__init__
bfpy.bftypes.GetSilksV2Req.__init__
bfpy.bftypes.GetSubscriptionInfoReq.__init__
bfpy.bftypes.GetVendorAccessRequestsReq.__init__
bfpy.bftypes.GetVendorInfoReq.__init__
bfpy.bftypes.GetVendorUsersReq.__init__
bfpy.bftypes.KeepAliveReq.__init__
bfpy.bftypes.LoginReq.__init__
bfpy.bftypes.LogoutReq.__init__
bfpy.bftypes.ModifyPasswordReq.__init__
bfpy.bftypes.ModifyProfileReq.__init__
bfpy.bftypes.PlaceBets.__init__
bfpy.bftypes.PlaceBetsReq.__init__
bfpy.bftypes.RetrieveLIMBMessageReq.__init__
bfpy.bftypes.SelfExcludeReq.__init__
bfpy.bftypes.SetChatNameReq.__init__
bfpy.bftypes.SubmitLIMBMessageReq.__init__
bfpy.bftypes.TransferFundsReq.__init__
bfpy.bftypes.UpdateBets.__init__
bfpy.bftypes.UpdateBetsReq.__init__
bfpy.bftypes.UpdatePaymentCardReq.__init__
bfpy.bftypes.VendorSubscriptionReq.__init__
bfpy.bftypes.ViewProfileReq.__init__
bfpy.bftypes.ViewProfileV2Req.__init__
bfpy.bftypes.ViewReferAndEarnReq.__init__
bfpy.bftypes.WithdrawToPaymentCardReq.__init__
bfpy.bfutil.EmptyObject.__init__
bfpy.bfutil.FactoryClass.__init__
bfpy.bfutil.SharedData.__init__" class="py-name" href="#" onclick="return doclink('link-3', '__init__', 'link-3');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">methodName</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
<a name="L163"></a><tt class="py-lineno">163</tt>  <tt class="py-line"> </tt>
<a name="L164"></a><tt class="py-lineno">164</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">endPoint</tt> <tt class="py-op">=</tt> <tt class="py-name">endPoint</tt> </tt>
<a name="L165"></a><tt class="py-lineno">165</tt>  <tt class="py-line"> </tt>
<a name="L166"></a><tt class="py-lineno">166</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">serviceName</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L167"></a><tt class="py-lineno">167</tt>  <tt class="py-line">            <tt class="py-name">serviceName</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">methodName</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">methodName</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">:</tt><tt class="py-op">]</tt> </tt>
<a name="L168"></a><tt class="py-lineno">168</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">serviceName</tt> <tt class="py-op">=</tt> <tt class="py-name">serviceName</tt> </tt>
<a name="L169"></a><tt class="py-lineno">169</tt>  <tt class="py-line">             </tt>
<a name="L170"></a><tt class="py-lineno">170</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">requestName</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L171"></a><tt class="py-lineno">171</tt>  <tt class="py-line">            <tt class="py-name">requestName</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">serviceName</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">upper</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">serviceName</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">:</tt><tt class="py-op">]</tt> <tt class="py-op">+</tt> <tt class="py-string">'Req'</tt> </tt>
<a name="L172"></a><tt class="py-lineno">172</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">requestName</tt> <tt class="py-op">=</tt> <tt class="py-name">requestName</tt> </tt>
<a name="L173"></a><tt class="py-lineno">173</tt>  <tt class="py-line"> </tt>
<a name="L174"></a><tt class="py-lineno">174</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">apiHeader</tt> <tt class="py-op">=</tt> <tt class="py-name">apiHeader</tt> </tt>
<a name="L175"></a><tt class="py-lineno">175</tt>  <tt class="py-line"> </tt>
<a name="L176"></a><tt class="py-lineno">176</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">skipErrorCodes</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-string">'INVALID_LOCALE_DEFAULTING_TO_ENGLISH'</tt><tt class="py-op">]</tt> </tt>
<a name="L177"></a><tt class="py-lineno">177</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">skipErrorCodes</tt><tt class="py-op">:</tt> </tt>
<a name="L178"></a><tt class="py-lineno">178</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">skipErrorCodes</tt><tt class="py-op">.</tt><tt class="py-name">extend</tt><tt class="py-op">(</tt><tt class="py-name">skipErrorCodes</tt><tt class="py-op">)</tt> </tt>
<a name="L179"></a><tt class="py-lineno">179</tt>  <tt class="py-line"> </tt>
<a name="L180"></a><tt class="py-lineno">180</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">preProc</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L181"></a><tt class="py-lineno">181</tt>  <tt class="py-line">            <tt class="py-name">preProc</tt> <tt class="py-op">=</tt> <tt class="py-name">list</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L182"></a><tt class="py-lineno">182</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">preProc</tt> <tt class="py-op">=</tt> <tt class="py-name">preProc</tt> </tt>
<a name="L183"></a><tt class="py-lineno">183</tt>  <tt class="py-line"> </tt>
<a name="L184"></a><tt class="py-lineno">184</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">postProc</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L185"></a><tt class="py-lineno">185</tt>  <tt class="py-line">            <tt class="py-name">postProc</tt> <tt class="py-op">=</tt> <tt class="py-name">list</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L186"></a><tt class="py-lineno">186</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">postProc</tt> <tt class="py-op">=</tt> <tt class="py-name">postProc</tt> </tt>
<a name="L187"></a><tt class="py-lineno">187</tt>  <tt class="py-line"> </tt>
<a name="L188"></a><tt class="py-lineno">188</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-4" class="py-name" targets="Variable bfpy.bfcounter.DataCounter.weight=bfpy.bfcounter.DataCounter-class.html#weight,Variable bfpy.bfcounter.DataRequest.weight=bfpy.bfcounter.DataRequest-class.html#weight"><a title="bfpy.bfcounter.DataCounter.weight
bfpy.bfcounter.DataRequest.weight" class="py-name" href="#" onclick="return doclink('link-4', 'weight', 'link-4');">weight</a></tt> <tt class="py-op">=</tt> <tt id="link-5" class="py-name"><a title="bfpy.bfcounter.DataCounter.weight
bfpy.bfcounter.DataRequest.weight" class="py-name" href="#" onclick="return doclink('link-5', 'weight', 'link-4');">weight</a></tt> </tt>
</div><a name="L189"></a><tt class="py-lineno">189</tt>  <tt class="py-line"> </tt>
<a name="L190"></a><tt class="py-lineno">190</tt>  <tt class="py-line"> </tt>
<a name="ServiceDef.__call__"></a><div id="ServiceDef.__call__-def"><a name="L191"></a><tt class="py-lineno">191</tt> <a class="py-toggle" href="#" id="ServiceDef.__call__-toggle" onclick="return toggle('ServiceDef.__call__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="bfpy.bfservice.ServiceDef-class.html#__call__">__call__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">instance</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ServiceDef.__call__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ServiceDef.__call__-expanded"><a name="L192"></a><tt class="py-lineno">192</tt>  <tt class="py-line">        <tt class="py-docstring">'''</tt> </tt>
<a name="L193"></a><tt class="py-lineno">193</tt>  <tt class="py-line"><tt class="py-docstring">        Invocation of a service in a generic manner.</tt> </tt>
<a name="L194"></a><tt class="py-lineno">194</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L195"></a><tt class="py-lineno">195</tt>  <tt class="py-line"><tt class="py-docstring">        It is in charge of deciding the final endPoint (global or exchange,</tt> </tt>
<a name="L196"></a><tt class="py-lineno">196</tt>  <tt class="py-line"><tt class="py-docstring">        and if exchange, which one from the parameters), get a reference</tt> </tt>
<a name="L197"></a><tt class="py-lineno">197</tt>  <tt class="py-line"><tt class="py-docstring">        to the service method from the instance, the request to be passed</tt> </tt>
<a name="L198"></a><tt class="py-lineno">198</tt>  <tt class="py-line"><tt class="py-docstring">        and filling in the request values (with the default and provided</tt> </tt>
<a name="L199"></a><tt class="py-lineno">199</tt>  <tt class="py-line"><tt class="py-docstring">        kwargs)</tt> </tt>
<a name="L200"></a><tt class="py-lineno">200</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L201"></a><tt class="py-lineno">201</tt>  <tt class="py-line"><tt class="py-docstring">        Once the response is received, it is passed through the defined</tt> </tt>
<a name="L202"></a><tt class="py-lineno">202</tt>  <tt class="py-line"><tt class="py-docstring">        post processing callables and then returned</tt> </tt>
<a name="L203"></a><tt class="py-lineno">203</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L204"></a><tt class="py-lineno">204</tt>  <tt class="py-line"><tt class="py-docstring">        @param instance: object whose method is being invoked</tt> </tt>
<a name="L205"></a><tt class="py-lineno">205</tt>  <tt class="py-line"><tt class="py-docstring">        @type instance: object</tt> </tt>
<a name="L206"></a><tt class="py-lineno">206</tt>  <tt class="py-line"><tt class="py-docstring">        @param args: exchange services will receive the exchangeId there</tt> </tt>
<a name="L207"></a><tt class="py-lineno">207</tt>  <tt class="py-line"><tt class="py-docstring">        @type args: tuple</tt> </tt>
<a name="L208"></a><tt class="py-lineno">208</tt>  <tt class="py-line"><tt class="py-docstring">        @param kwargs: names and values of args for the service request</tt> </tt>
<a name="L209"></a><tt class="py-lineno">209</tt>  <tt class="py-line"><tt class="py-docstring">        @type kwargs: dict</tt> </tt>
<a name="L210"></a><tt class="py-lineno">210</tt>  <tt class="py-line"><tt class="py-docstring">        '''</tt> </tt>
<a name="L211"></a><tt class="py-lineno">211</tt>  <tt class="py-line">        <tt class="py-comment"># Calls to Exchanges need the specific exchange endPoint</tt> </tt>
<a name="L212"></a><tt class="py-lineno">212</tt>  <tt class="py-line">        <tt class="py-comment"># passed to the functions as 1st unnamed arg</tt> </tt>
<a name="L213"></a><tt class="py-lineno">213</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L214"></a><tt class="py-lineno">214</tt>  <tt class="py-line">            <tt class="py-name">endPoint</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">endPoint</tt> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">endPoint</tt> <tt class="py-op">&lt;=</tt> <tt class="py-number">0</tt> <tt class="py-keyword">else</tt> <tt class="py-name">args</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt>
<a name="L215"></a><tt class="py-lineno">215</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L216"></a><tt class="py-lineno">216</tt>  <tt class="py-line">            <tt class="py-keyword">raise</tt> <tt id="link-6" class="py-name"><a title="bfpy.bferror" class="py-name" href="#" onclick="return doclink('link-6', 'bferror', 'link-0');">bferror</a></tt><tt class="py-op">.</tt><tt id="link-7" class="py-name" targets="Class bfpy.bferror.BfPythonError=bfpy.bferror.BfPythonError-class.html"><a title="bfpy.bferror.BfPythonError" class="py-name" href="#" onclick="return doclink('link-7', 'BfPythonError', 'link-7');">BfPythonError</a></tt><tt class="py-op">(</tt><tt class="py-string">'Forgot to pass ExchangeId!'</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">e</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">.</tt><tt class="py-name">args</tt><tt class="py-op">)</tt> </tt>
<a name="L217"></a><tt class="py-lineno">217</tt>  <tt class="py-line"> </tt>
<a name="L218"></a><tt class="py-lineno">218</tt>  <tt class="py-line">        <tt class="py-comment"># Get the service from the appropriate endpoint</tt> </tt>
<a name="L219"></a><tt class="py-lineno">219</tt>  <tt class="py-line">        <tt class="py-name">service</tt> <tt class="py-op">=</tt> <tt class="py-name">instance</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name" targets="Method bfpy.bfapi.BfApi.getService()=bfpy.bfapi.BfApi-class.html#getService,Method bfpy.bfdirect.ApiService.getService()=bfpy.bfdirect.ApiService-class.html#getService"><a title="bfpy.bfapi.BfApi.getService
bfpy.bfdirect.ApiService.getService" class="py-name" href="#" onclick="return doclink('link-8', 'getService', 'link-8');">getService</a></tt><tt class="py-op">(</tt><tt class="py-name">endPoint</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">serviceName</tt><tt class="py-op">)</tt> </tt>
<a name="L220"></a><tt class="py-lineno">220</tt>  <tt class="py-line"> </tt>
<a name="L221"></a><tt class="py-lineno">221</tt>  <tt class="py-line">        <tt class="py-comment"># Get the service request argument from the appropriate endpoint</tt> </tt>
<a name="L222"></a><tt class="py-lineno">222</tt>  <tt class="py-line">        <tt class="py-name">request</tt> <tt class="py-op">=</tt> <tt class="py-name">instance</tt><tt class="py-op">.</tt><tt id="link-9" class="py-name" targets="Method bfpy.bfapi.BfApi.getRequest()=bfpy.bfapi.BfApi-class.html#getRequest"><a title="bfpy.bfapi.BfApi.getRequest" class="py-name" href="#" onclick="return doclink('link-9', 'getRequest', 'link-9');">getRequest</a></tt><tt class="py-op">(</tt><tt class="py-name">endPoint</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">requestName</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">apiHeader</tt><tt class="py-op">)</tt> </tt>
<a name="L223"></a><tt class="py-lineno">223</tt>  <tt class="py-line"> </tt>
<a name="L224"></a><tt class="py-lineno">224</tt>  <tt class="py-line">        <tt class="py-comment"># Make a copy dictionary of args with default values</tt> </tt>
<a name="L225"></a><tt class="py-lineno">225</tt>  <tt class="py-line">        <tt class="py-name">requestArgs</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">copy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L226"></a><tt class="py-lineno">226</tt>  <tt class="py-line">        <tt class="py-comment"># Update the dictionary with new args/updated args</tt> </tt>
<a name="L227"></a><tt class="py-lineno">227</tt>  <tt class="py-line">        <tt class="py-name">requestArgs</tt><tt class="py-op">.</tt><tt class="py-name">update</tt><tt class="py-op">(</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
<a name="L228"></a><tt class="py-lineno">228</tt>  <tt class="py-line"> </tt>
<a name="L229"></a><tt class="py-lineno">229</tt>  <tt class="py-line">        <tt class="py-comment"># Pre-process</tt> </tt>
<a name="L230"></a><tt class="py-lineno">230</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">instance</tt><tt class="py-op">.</tt><tt id="link-10" class="py-name" targets="Variable bfpy.bfglobals.preProcess=bfpy.bfglobals-module.html#preProcess,Variable bfpy.preProcess=bfpy-module.html#preProcess"><a title="bfpy.bfglobals.preProcess
bfpy.preProcess" class="py-name" href="#" onclick="return doclink('link-10', 'preProcess', 'link-10');">preProcess</a></tt><tt class="py-op">:</tt> </tt>
<a name="L231"></a><tt class="py-lineno">231</tt>  <tt class="py-line">            <tt class="py-keyword">for</tt> <tt class="py-name">preProc</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">preProc</tt><tt class="py-op">:</tt> </tt>
<a name="L232"></a><tt class="py-lineno">232</tt>  <tt class="py-line">                <tt class="py-name">preProc</tt><tt class="py-op">(</tt><tt class="py-name">request</tt><tt class="py-op">,</tt> <tt class="py-name">requestArgs</tt><tt class="py-op">,</tt> </tt>
<a name="L233"></a><tt class="py-lineno">233</tt>  <tt class="py-line">                        <tt class="py-name">instance</tt><tt class="py-op">=</tt><tt class="py-name">instance</tt><tt class="py-op">,</tt> <tt class="py-name">exchangeId</tt><tt class="py-op">=</tt><tt class="py-name">endPoint</tt><tt class="py-op">,</tt> </tt>
<a name="L234"></a><tt class="py-lineno">234</tt>  <tt class="py-line">                        <tt class="py-name">methodArgs</tt><tt class="py-op">=</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
<a name="L235"></a><tt class="py-lineno">235</tt>  <tt class="py-line"> </tt>
<a name="L236"></a><tt class="py-lineno">236</tt>  <tt class="py-line">        <tt class="py-comment"># Fill in the defined argument values in the service request</tt> </tt>
<a name="L237"></a><tt class="py-lineno">237</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">value</tt> <tt class="py-keyword">in</tt> <tt class="py-name">requestArgs</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L238"></a><tt class="py-lineno">238</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">name</tt><tt class="py-op">.</tt><tt class="py-name">startswith</tt><tt class="py-op">(</tt><tt class="py-string">'_'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L239"></a><tt class="py-lineno">239</tt>  <tt class="py-line">                <tt class="py-name">setattr</tt><tt class="py-op">(</tt><tt class="py-name">request</tt><tt class="py-op">,</tt> <tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L240"></a><tt class="py-lineno">240</tt>  <tt class="py-line"> </tt>
<a name="L241"></a><tt class="py-lineno">241</tt>  <tt class="py-line">        <tt class="py-comment"># Calculate the data charges weight</tt> </tt>
<a name="L242"></a><tt class="py-lineno">242</tt>  <tt class="py-line">        <tt id="link-11" class="py-name"><a title="bfpy.bfcounter.DataCounter.weight
bfpy.bfcounter.DataRequest.weight" class="py-name" href="#" onclick="return doclink('link-11', 'weight', 'link-4');">weight</a></tt> <tt class="py-op">=</tt> <tt class="py-name">abs</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-12" class="py-name"><a title="bfpy.bfcounter.DataCounter.weight
bfpy.bfcounter.DataRequest.weight" class="py-name" href="#" onclick="return doclink('link-12', 'weight', 'link-4');">weight</a></tt><tt class="py-op">)</tt> </tt>
<a name="L243"></a><tt class="py-lineno">243</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-13" class="py-name"><a title="bfpy.bfcounter.DataCounter.weight
bfpy.bfcounter.DataRequest.weight" class="py-name" href="#" onclick="return doclink('link-13', 'weight', 'link-4');">weight</a></tt> <tt class="py-op">&lt;</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
<a name="L244"></a><tt class="py-lineno">244</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt class="py-name">request</tt><tt class="py-op">,</tt> <tt class="py-string">'marketId'</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-keyword">not</tt> <tt class="py-name">request</tt><tt class="py-op">.</tt><tt id="link-14" class="py-name" targets="Variable bfpy.bftypes.GetBetHistoryReq.marketId=bfpy.bftypes.GetBetHistoryReq-class.html#marketId,Variable bfpy.bftypes.GetCompleteMarketPricesCompressedReq.marketId=bfpy.bftypes.GetCompleteMarketPricesCompressedReq-class.html#marketId,Variable bfpy.bftypes.GetCurrentBetsLiteReq.marketId=bfpy.bftypes.GetCurrentBetsLiteReq-class.html#marketId,Variable bfpy.bftypes.GetCurrentBetsReq.marketId=bfpy.bftypes.GetCurrentBetsReq-class.html#marketId,Variable bfpy.bftypes.GetDetailedAvailableMktDepthReq.marketId=bfpy.bftypes.GetDetailedAvailableMktDepthReq-class.html#marketId,Variable bfpy.bftypes.GetMUBetsLiteReq.marketId=bfpy.bftypes.GetMUBetsLiteReq-class.html#marketId,Variable bfpy.bftypes.GetMUBetsReq.marketId=bfpy.bftypes.GetMUBetsReq-class.html#marketId,Variable bfpy.bftypes.GetMarketInfoReq.marketId=bfpy.bftypes.GetMarketInfoReq-class.html#marketId,Variable bfpy.bftypes.GetMarketPricesCompressedReq.marketId=bfpy.bftypes.GetMarketPricesCompressedReq-class.html#marketId,Variable bfpy.bftypes.GetMarketPricesReq.marketId=bfpy.bftypes.GetMarketPricesReq-class.html#marketId,Variable bfpy.bftypes.GetMarketReq.marketId=bfpy.bftypes.GetMarketReq-class.html#marketId,Variable bfpy.bftypes.GetMarketTradedVolumeCompressedReq.marketId=bfpy.bftypes.GetMarketTradedVolumeCompressedReq-class.html#marketId,Variable bfpy.bftypes.GetMarketTradedVolumeReq.marketId=bfpy.bftypes.GetMarketTradedVolumeReq-class.html#marketId,Variable bfpy.bftypes.PlaceBets.marketId=bfpy.bftypes.PlaceBets-class.html#marketId"><a title="bfpy.bftypes.GetBetHistoryReq.marketId
bfpy.bftypes.GetCompleteMarketPricesCompressedReq.marketId
bfpy.bftypes.GetCurrentBetsLiteReq.marketId
bfpy.bftypes.GetCurrentBetsReq.marketId
bfpy.bftypes.GetDetailedAvailableMktDepthReq.marketId
bfpy.bftypes.GetMUBetsLiteReq.marketId
bfpy.bftypes.GetMUBetsReq.marketId
bfpy.bftypes.GetMarketInfoReq.marketId
bfpy.bftypes.GetMarketPricesCompressedReq.marketId
bfpy.bftypes.GetMarketPricesReq.marketId
bfpy.bftypes.GetMarketReq.marketId
bfpy.bftypes.GetMarketTradedVolumeCompressedReq.marketId
bfpy.bftypes.GetMarketTradedVolumeReq.marketId
bfpy.bftypes.PlaceBets.marketId" class="py-name" href="#" onclick="return doclink('link-14', 'marketId', 'link-14');">marketId</a></tt><tt class="py-op">:</tt> </tt>
<a name="L245"></a><tt class="py-lineno">245</tt>  <tt class="py-line">                <tt class="py-comment"># Some calls using marketId '0' cost 5 times</tt> </tt>
<a name="L246"></a><tt class="py-lineno">246</tt>  <tt class="py-line">                <tt id="link-15" class="py-name"><a title="bfpy.bfcounter.DataCounter.weight
bfpy.bfcounter.DataRequest.weight" class="py-name" href="#" onclick="return doclink('link-15', 'weight', 'link-4');">weight</a></tt> <tt class="py-op">*=</tt> <tt class="py-number">5</tt> </tt>
<a name="L247"></a><tt class="py-lineno">247</tt>  <tt class="py-line">             </tt>
<a name="L248"></a><tt class="py-lineno">248</tt>  <tt class="py-line">        <tt class="py-comment"># Add the weight to the instance - the call will block if needed</tt> </tt>
<a name="L249"></a><tt class="py-lineno">249</tt>  <tt class="py-line">        <tt class="py-name">instance</tt><tt class="py-op">.</tt><tt id="link-16" class="py-name" targets="Method bfpy.bfapi.BfApi.addDataWeight()=bfpy.bfapi.BfApi-class.html#addDataWeight"><a title="bfpy.bfapi.BfApi.addDataWeight" class="py-name" href="#" onclick="return doclink('link-16', 'addDataWeight', 'link-16');">addDataWeight</a></tt><tt class="py-op">(</tt><tt class="py-name">endPoint</tt><tt class="py-op">,</tt> <tt id="link-17" class="py-name"><a title="bfpy.bfcounter.DataCounter.weight
bfpy.bfcounter.DataRequest.weight" class="py-name" href="#" onclick="return doclink('link-17', 'weight', 'link-4');">weight</a></tt><tt class="py-op">)</tt> </tt>
<a name="L250"></a><tt class="py-lineno">250</tt>  <tt class="py-line"> </tt>
<a name="L251"></a><tt class="py-lineno">251</tt>  <tt class="py-line">        <tt class="py-comment"># Execute the call and fetch the response</tt> </tt>
<a name="L252"></a><tt class="py-lineno">252</tt>  <tt class="py-line">        <tt class="py-name">response</tt> <tt class="py-op">=</tt> <tt class="py-name">instance</tt><tt class="py-op">.</tt><tt id="link-18" class="py-name" targets="Method bfpy.bfapi.BfApi.invoke()=bfpy.bfapi.BfApi-class.html#invoke"><a title="bfpy.bfapi.BfApi.invoke" class="py-name" href="#" onclick="return doclink('link-18', 'invoke', 'link-18');">invoke</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">methodName</tt><tt class="py-op">,</tt> <tt class="py-name">service</tt><tt class="py-op">,</tt> </tt>
<a name="L253"></a><tt class="py-lineno">253</tt>  <tt class="py-line">                                   <tt class="py-name">request</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">skipErrorCodes</tt><tt class="py-op">)</tt> </tt>
<a name="L254"></a><tt class="py-lineno">254</tt>  <tt class="py-line"> </tt>
<a name="L255"></a><tt class="py-lineno">255</tt>  <tt class="py-line">        <tt class="py-comment"># Post-Process the response if needed</tt> </tt>
<a name="L256"></a><tt class="py-lineno">256</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">instance</tt><tt class="py-op">.</tt><tt id="link-19" class="py-name" targets="Variable bfpy.bfglobals.postProcess=bfpy.bfglobals-module.html#postProcess,Variable bfpy.postProcess=bfpy-module.html#postProcess"><a title="bfpy.bfglobals.postProcess
bfpy.postProcess" class="py-name" href="#" onclick="return doclink('link-19', 'postProcess', 'link-19');">postProcess</a></tt><tt class="py-op">:</tt> </tt>
<a name="L257"></a><tt class="py-lineno">257</tt>  <tt class="py-line">            <tt class="py-keyword">for</tt> <tt class="py-name">postProc</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">postProc</tt><tt class="py-op">:</tt> </tt>
<a name="L258"></a><tt class="py-lineno">258</tt>  <tt class="py-line">                <tt class="py-name">postProc</tt><tt class="py-op">(</tt><tt class="py-name">response</tt><tt class="py-op">,</tt> <tt class="py-name">instance</tt><tt class="py-op">=</tt><tt class="py-name">instance</tt><tt class="py-op">,</tt> <tt class="py-name">exchangeId</tt><tt class="py-op">=</tt><tt class="py-name">endPoint</tt><tt class="py-op">,</tt> </tt>
<a name="L259"></a><tt class="py-lineno">259</tt>  <tt class="py-line">                         <tt class="py-name">request</tt><tt class="py-op">=</tt><tt class="py-name">request</tt><tt class="py-op">,</tt> <tt class="py-name">requestArgs</tt><tt class="py-op">=</tt><tt class="py-name">requestArgs</tt><tt class="py-op">)</tt> </tt>
<a name="L260"></a><tt class="py-lineno">260</tt>  <tt class="py-line"> </tt>
<a name="L261"></a><tt class="py-lineno">261</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">response</tt> </tt>
</div></div><a name="L262"></a><tt class="py-lineno">262</tt>  <tt class="py-line"> </tt>
<a name="L263"></a><tt class="py-lineno">263</tt>  <tt class="py-line"> </tt>
<a name="GlobalServiceDef"></a><div id="GlobalServiceDef-def"><a name="L264"></a><tt class="py-lineno">264</tt> <a class="py-toggle" href="#" id="GlobalServiceDef-toggle" onclick="return toggle('GlobalServiceDef');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="bfpy.bfservice.GlobalServiceDef-class.html">GlobalServiceDef</a><tt class="py-op">(</tt><tt class="py-base-class">ServiceDef</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="GlobalServiceDef-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="GlobalServiceDef-expanded"><a name="L265"></a><tt class="py-lineno">265</tt>  <tt class="py-line">    <tt class="py-docstring">'''</tt> </tt>
<a name="L266"></a><tt class="py-lineno">266</tt>  <tt class="py-line"><tt class="py-docstring">    Service Definition for global services. It is a ServiceDefinition</tt> </tt>
<a name="L267"></a><tt class="py-lineno">267</tt>  <tt class="py-line"><tt class="py-docstring">    subclass with the endPoint set to the global value</tt> </tt>
<a name="L268"></a><tt class="py-lineno">268</tt>  <tt class="py-line"><tt class="py-docstring">    '''</tt> </tt>
<a name="L269"></a><tt class="py-lineno">269</tt>  <tt class="py-line">         </tt>
<a name="GlobalServiceDef.__init__"></a><div id="GlobalServiceDef.__init__-def"><a name="L270"></a><tt class="py-lineno">270</tt> <a class="py-toggle" href="#" id="GlobalServiceDef.__init__-toggle" onclick="return toggle('GlobalServiceDef.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="bfpy.bfservice.GlobalServiceDef-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> </tt>
<a name="L271"></a><tt class="py-lineno">271</tt>  <tt class="py-line">                 <tt class="py-param">methodName</tt><tt class="py-op">,</tt> <tt class="py-param">serviceName</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">requestName</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
<a name="L272"></a><tt class="py-lineno">272</tt>  <tt class="py-line">                 <tt class="py-param">apiHeader</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">,</tt> <tt class="py-param">skipErrorCodes</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
<a name="L273"></a><tt class="py-lineno">273</tt>  <tt class="py-line">                 <tt class="py-param">preProc</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">postProc</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">weight</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> </tt>
<a name="L274"></a><tt class="py-lineno">274</tt>  <tt class="py-line">                 <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="GlobalServiceDef.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="GlobalServiceDef.__init__-expanded"><a name="L275"></a><tt class="py-lineno">275</tt>  <tt class="py-line">        <tt class="py-docstring">'''</tt> </tt>
<a name="L276"></a><tt class="py-lineno">276</tt>  <tt class="py-line"><tt class="py-docstring">        Initializes the service and variables, setting the the</tt> </tt>
<a name="L277"></a><tt class="py-lineno">277</tt>  <tt class="py-line"><tt class="py-docstring">        endPoint to the global endPoint (0)</tt> </tt>
<a name="L278"></a><tt class="py-lineno">278</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L279"></a><tt class="py-lineno">279</tt>  <tt class="py-line"><tt class="py-docstring">        @param methodName: name the method will be invoked by</tt> </tt>
<a name="L280"></a><tt class="py-lineno">280</tt>  <tt class="py-line"><tt class="py-docstring">        @type methodName: str</tt> </tt>
<a name="L281"></a><tt class="py-lineno">281</tt>  <tt class="py-line"><tt class="py-docstring">        @param serviceName: name of the service to invoke</tt> </tt>
<a name="L282"></a><tt class="py-lineno">282</tt>  <tt class="py-line"><tt class="py-docstring">        @type serviceName: str</tt> </tt>
<a name="L283"></a><tt class="py-lineno">283</tt>  <tt class="py-line"><tt class="py-docstring">        @param requestName: name of the request to pass to the service</tt> </tt>
<a name="L284"></a><tt class="py-lineno">284</tt>  <tt class="py-line"><tt class="py-docstring">        @type requestName: str</tt> </tt>
<a name="L285"></a><tt class="py-lineno">285</tt>  <tt class="py-line"><tt class="py-docstring">        @param apiHeader: whether to add an API header to the request</tt> </tt>
<a name="L286"></a><tt class="py-lineno">286</tt>  <tt class="py-line"><tt class="py-docstring">        @type apiHeader: bool</tt> </tt>
<a name="L287"></a><tt class="py-lineno">287</tt>  <tt class="py-line"><tt class="py-docstring">        @param skipErrorCodes: errorCodes that will not signal an error</tt> </tt>
<a name="L288"></a><tt class="py-lineno">288</tt>  <tt class="py-line"><tt class="py-docstring">        @type skipErrorCodes: list</tt> </tt>
<a name="L289"></a><tt class="py-lineno">289</tt>  <tt class="py-line"><tt class="py-docstring">        @param preProc: callables that will pre process a service request</tt> </tt>
<a name="L290"></a><tt class="py-lineno">290</tt>  <tt class="py-line"><tt class="py-docstring">        @type preProc: list</tt> </tt>
<a name="L291"></a><tt class="py-lineno">291</tt>  <tt class="py-line"><tt class="py-docstring">        @param postProc: callables that will post process a service response</tt> </tt>
<a name="L292"></a><tt class="py-lineno">292</tt>  <tt class="py-line"><tt class="py-docstring">        @type postProc: list</tt> </tt>
<a name="L293"></a><tt class="py-lineno">293</tt>  <tt class="py-line"><tt class="py-docstring">        @param kwargs: extra arguments (with values) to pass to the method</tt> </tt>
<a name="L294"></a><tt class="py-lineno">294</tt>  <tt class="py-line"><tt class="py-docstring">        @type kwargs: dict</tt> </tt>
<a name="L295"></a><tt class="py-lineno">295</tt>  <tt class="py-line"><tt class="py-docstring">        '''</tt> </tt>
<a name="L296"></a><tt class="py-lineno">296</tt>  <tt class="py-line">        <tt id="link-20" class="py-name" targets="Class bfpy.bfservice.ServiceDef=bfpy.bfservice.ServiceDef-class.html"><a title="bfpy.bfservice.ServiceDef" class="py-name" href="#" onclick="return doclink('link-20', 'ServiceDef', 'link-20');">ServiceDef</a></tt><tt class="py-op">.</tt><tt id="link-21" class="py-name"><a title="bfpy.bfapi.BfApi.MinStake.__init__
bfpy.bfapi.BfApi.__init__
bfpy.bfapicalls.ApiCall.__init__
bfpy.bfapicalls.ApiCallExchange.__init__
bfpy.bfapicalls.ApiCallGlobal.__init__
bfpy.bfapicalls.ApiCallVendor.__init__
bfpy.bfclient.BfClient.__init__
bfpy.bfclientext.GetCurrentBets.__init__
bfpy.bfclientext.GetEvents.__init__
bfpy.bfclientext.PlaceBets.__init__
bfpy.bfcounter.DataCounter.__init__
bfpy.bfcounter.DataRequest.__init__
bfpy.bfdirect.ApiService.__init__
bfpy.bferror.BfApiError.__init__
bfpy.bferror.BfApplicationError.__init__
bfpy.bferror.BfBetfairError.__init__
bfpy.bferror.BfError.__init__
bfpy.bferror.BfHtmlError.__init__
bfpy.bferror.BfHttpError.__init__
bfpy.bferror.BfNetworkError.__init__
bfpy.bferror.BfPythonError.__init__
bfpy.bferror.BfServiceError.__init__
bfpy.bferror.BfTransportError.__init__
bfpy.bfprocessors.ArrayFix.__init__
bfpy.bfprocessors.ProcMarketPricesCompressed.__init__
bfpy.bfservice.ExchangeObject.__init__
bfpy.bfservice.ExchangeServiceDef.__init__
bfpy.bfservice.GlobalObject.__init__
bfpy.bfservice.GlobalServiceDef.__init__
bfpy.bfservice.ServiceDef.__init__
bfpy.bfservice.ServiceDescriptor.__init__
bfpy.bfservice.ServiceObject.__init__
bfpy.bfservice.VendorObject.__init__
bfpy.bfservice.VendorServiceDef.__init__
bfpy.bftimezone.LocalTimezone.__init__
bfpy.bftransport.BfTransport.__init__
bfpy.bftransport.BfTransportError.__init__
bfpy.bftransport.BfTransportHtmlError.__init__
bfpy.bftransport.BfTransportHttpError.__init__
bfpy.bftransport.BfTransportReply.__init__
bfpy.bftransport.BfTransportRequest.__init__
bfpy.bftransport.BfTransportSocketError.__init__
bfpy.bftypes.APIRequestHeader.__init__
bfpy.bftypes.AddPaymentCardReq.__init__
bfpy.bftypes.ApiDataType.__init__
bfpy.bftypes.ApiParam.__init__
bfpy.bftypes.CancelBets.__init__
bfpy.bftypes.CancelBetsByMarketReq.__init__
bfpy.bftypes.CancelBetsReq.__init__
bfpy.bftypes.CancelVendorAccessRequestReq.__init__
bfpy.bftypes.ConvertCurrencyReq.__init__
bfpy.bftypes.CreateVendorAccessRequestReq.__init__
bfpy.bftypes.DeletePaymentCardReq.__init__
bfpy.bftypes.DepositFromPaymentCardReq.__init__
bfpy.bftypes.ForgotPasswordReq.__init__
bfpy.bftypes.GetAccountFundsReq.__init__
bfpy.bftypes.GetAccountStatementReq.__init__
bfpy.bftypes.GetAllMarketsReq.__init__
bfpy.bftypes.GetBetHistoryReq.__init__
bfpy.bftypes.GetBetLiteReq.__init__
bfpy.bftypes.GetBetMatchesLiteReq.__init__
bfpy.bftypes.GetBetReq.__init__
bfpy.bftypes.GetCompleteMarketPricesCompressedReq.__init__
bfpy.bftypes.GetCurrenciesReq.__init__
bfpy.bftypes.GetCurrenciesV2Req.__init__
bfpy.bftypes.GetCurrentBetsLiteReq.__init__
bfpy.bftypes.GetCurrentBetsReq.__init__
bfpy.bftypes.GetDetailedAvailableMktDepthReq.__init__
bfpy.bftypes.GetEventTypesReq.__init__
bfpy.bftypes.GetEventsReq.__init__
bfpy.bftypes.GetInPlayMarketsReq.__init__
bfpy.bftypes.GetMUBetsLiteReq.__init__
bfpy.bftypes.GetMUBetsReq.__init__
bfpy.bftypes.GetMarketInfoReq.__init__
bfpy.bftypes.GetMarketPricesCompressedReq.__init__
bfpy.bftypes.GetMarketPricesReq.__init__
bfpy.bftypes.GetMarketProfitAndLossReq.__init__
bfpy.bftypes.GetMarketReq.__init__
bfpy.bftypes.GetMarketTradedVolumeCompressedReq.__init__
bfpy.bftypes.GetMarketTradedVolumeReq.__init__
bfpy.bftypes.GetPaymentCardReq.__init__
bfpy.bftypes.GetPrivateMarketsReq.__init__
bfpy.bftypes.GetSilksReq.__init__
bfpy.bftypes.GetSilksV2Req.__init__
bfpy.bftypes.GetSubscriptionInfoReq.__init__
bfpy.bftypes.GetVendorAccessRequestsReq.__init__
bfpy.bftypes.GetVendorInfoReq.__init__
bfpy.bftypes.GetVendorUsersReq.__init__
bfpy.bftypes.KeepAliveReq.__init__
bfpy.bftypes.LoginReq.__init__
bfpy.bftypes.LogoutReq.__init__
bfpy.bftypes.ModifyPasswordReq.__init__
bfpy.bftypes.ModifyProfileReq.__init__
bfpy.bftypes.PlaceBets.__init__
bfpy.bftypes.PlaceBetsReq.__init__
bfpy.bftypes.RetrieveLIMBMessageReq.__init__
bfpy.bftypes.SelfExcludeReq.__init__
bfpy.bftypes.SetChatNameReq.__init__
bfpy.bftypes.SubmitLIMBMessageReq.__init__
bfpy.bftypes.TransferFundsReq.__init__
bfpy.bftypes.UpdateBets.__init__
bfpy.bftypes.UpdateBetsReq.__init__
bfpy.bftypes.UpdatePaymentCardReq.__init__
bfpy.bftypes.VendorSubscriptionReq.__init__
bfpy.bftypes.ViewProfileReq.__init__
bfpy.bftypes.ViewProfileV2Req.__init__
bfpy.bftypes.ViewReferAndEarnReq.__init__
bfpy.bftypes.WithdrawToPaymentCardReq.__init__
bfpy.bfutil.EmptyObject.__init__
bfpy.bfutil.FactoryClass.__init__
bfpy.bfutil.SharedData.__init__" class="py-name" href="#" onclick="return doclink('link-21', '__init__', 'link-3');">__init__</a></tt><tt class="py-op">(</tt> </tt>
<a name="L297"></a><tt class="py-lineno">297</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">,</tt> <tt id="link-22" class="py-name"><a title="bfpy.bfglobals" class="py-name" href="#" onclick="return doclink('link-22', 'bfglobals', 'link-1');">bfglobals</a></tt><tt class="py-op">.</tt><tt id="link-23" class="py-name" targets="Variable bfpy.Global=bfpy-module.html#Global,Variable bfpy.bfglobals.Global=bfpy.bfglobals-module.html#Global"><a title="bfpy.Global
bfpy.bfglobals.Global" class="py-name" href="#" onclick="return doclink('link-23', 'Global', 'link-23');">Global</a></tt><tt class="py-op">,</tt> </tt>
<a name="L298"></a><tt class="py-lineno">298</tt>  <tt class="py-line">            <tt class="py-name">methodName</tt><tt class="py-op">,</tt> <tt class="py-name">serviceName</tt><tt class="py-op">=</tt><tt class="py-name">serviceName</tt><tt class="py-op">,</tt> <tt class="py-name">requestName</tt><tt class="py-op">=</tt><tt class="py-name">requestName</tt><tt class="py-op">,</tt> </tt>
<a name="L299"></a><tt class="py-lineno">299</tt>  <tt class="py-line">            <tt class="py-name">apiHeader</tt><tt class="py-op">=</tt><tt class="py-name">apiHeader</tt><tt class="py-op">,</tt> <tt class="py-name">skipErrorCodes</tt><tt class="py-op">=</tt><tt class="py-name">skipErrorCodes</tt><tt class="py-op">,</tt> </tt>
<a name="L300"></a><tt class="py-lineno">300</tt>  <tt class="py-line">            <tt class="py-name">preProc</tt><tt class="py-op">=</tt><tt class="py-name">preProc</tt><tt class="py-op">,</tt> <tt class="py-name">postProc</tt><tt class="py-op">=</tt><tt class="py-name">postProc</tt><tt class="py-op">,</tt> <tt id="link-24" class="py-name"><a title="bfpy.bfcounter.DataCounter.weight
bfpy.bfcounter.DataRequest.weight" class="py-name" href="#" onclick="return doclink('link-24', 'weight', 'link-4');">weight</a></tt><tt class="py-op">=</tt><tt id="link-25" class="py-name"><a title="bfpy.bfcounter.DataCounter.weight
bfpy.bfcounter.DataRequest.weight" class="py-name" href="#" onclick="return doclink('link-25', 'weight', 'link-4');">weight</a></tt><tt class="py-op">,</tt> </tt>
<a name="L301"></a><tt class="py-lineno">301</tt>  <tt class="py-line">            <tt class="py-op">**</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L302"></a><tt class="py-lineno">302</tt>  <tt class="py-line"> </tt>
<a name="L303"></a><tt class="py-lineno">303</tt>  <tt class="py-line"> </tt>
<a name="ExchangeServiceDef"></a><div id="ExchangeServiceDef-def"><a name="L304"></a><tt class="py-lineno">304</tt> <a class="py-toggle" href="#" id="ExchangeServiceDef-toggle" onclick="return toggle('ExchangeServiceDef');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="bfpy.bfservice.ExchangeServiceDef-class.html">ExchangeServiceDef</a><tt class="py-op">(</tt><tt class="py-base-class">ServiceDef</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExchangeServiceDef-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="ExchangeServiceDef-expanded"><a name="L305"></a><tt class="py-lineno">305</tt>  <tt class="py-line">    <tt class="py-docstring">'''</tt> </tt>
<a name="L306"></a><tt class="py-lineno">306</tt>  <tt class="py-line"><tt class="py-docstring">    Service Definition for exchane services. It is a ServiceDefinition</tt> </tt>
<a name="L307"></a><tt class="py-lineno">307</tt>  <tt class="py-line"><tt class="py-docstring">    subclass with the endPoint set to the exchange value</tt> </tt>
<a name="L308"></a><tt class="py-lineno">308</tt>  <tt class="py-line"><tt class="py-docstring">    '''</tt> </tt>
<a name="L309"></a><tt class="py-lineno">309</tt>  <tt class="py-line"> </tt>
<a name="ExchangeServiceDef.__init__"></a><div id="ExchangeServiceDef.__init__-def"><a name="L310"></a><tt class="py-lineno">310</tt> <a class="py-toggle" href="#" id="ExchangeServiceDef.__init__-toggle" onclick="return toggle('ExchangeServiceDef.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="bfpy.bfservice.ExchangeServiceDef-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> </tt>
<a name="L311"></a><tt class="py-lineno">311</tt>  <tt class="py-line">                 <tt class="py-param">methodName</tt><tt class="py-op">,</tt> <tt class="py-param">serviceName</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">requestName</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
<a name="L312"></a><tt class="py-lineno">312</tt>  <tt class="py-line">                 <tt class="py-param">apiHeader</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">,</tt> <tt class="py-param">skipErrorCodes</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
<a name="L313"></a><tt class="py-lineno">313</tt>  <tt class="py-line">                 <tt class="py-param">preProc</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">postProc</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">weight</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> </tt>
<a name="L314"></a><tt class="py-lineno">314</tt>  <tt class="py-line">                 <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExchangeServiceDef.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ExchangeServiceDef.__init__-expanded"><a name="L315"></a><tt class="py-lineno">315</tt>  <tt class="py-line">        <tt class="py-docstring">'''</tt> </tt>
<a name="L316"></a><tt class="py-lineno">316</tt>  <tt class="py-line"><tt class="py-docstring">        Initializes the service and variables, setting the the</tt> </tt>
<a name="L317"></a><tt class="py-lineno">317</tt>  <tt class="py-line"><tt class="py-docstring">        endPoint to the global endPoint (0)</tt> </tt>
<a name="L318"></a><tt class="py-lineno">318</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L319"></a><tt class="py-lineno">319</tt>  <tt class="py-line"><tt class="py-docstring">        @param methodName: name the method will be invoked by</tt> </tt>
<a name="L320"></a><tt class="py-lineno">320</tt>  <tt class="py-line"><tt class="py-docstring">        @type methodName: str</tt> </tt>
<a name="L321"></a><tt class="py-lineno">321</tt>  <tt class="py-line"><tt class="py-docstring">        @param serviceName: name of the service to invoke</tt> </tt>
<a name="L322"></a><tt class="py-lineno">322</tt>  <tt class="py-line"><tt class="py-docstring">        @type serviceName: str</tt> </tt>
<a name="L323"></a><tt class="py-lineno">323</tt>  <tt class="py-line"><tt class="py-docstring">        @param requestName: name of the request to pass to the service</tt> </tt>
<a name="L324"></a><tt class="py-lineno">324</tt>  <tt class="py-line"><tt class="py-docstring">        @type requestName: str</tt> </tt>
<a name="L325"></a><tt class="py-lineno">325</tt>  <tt class="py-line"><tt class="py-docstring">        @param apiHeader: whether to add an API header to the request</tt> </tt>
<a name="L326"></a><tt class="py-lineno">326</tt>  <tt class="py-line"><tt class="py-docstring">        @type apiHeader: bool</tt> </tt>
<a name="L327"></a><tt class="py-lineno">327</tt>  <tt class="py-line"><tt class="py-docstring">        @param skipErrorCodes: errorCodes that will not signal an error</tt> </tt>
<a name="L328"></a><tt class="py-lineno">328</tt>  <tt class="py-line"><tt class="py-docstring">        @type skipErrorCodes: list</tt> </tt>
<a name="L329"></a><tt class="py-lineno">329</tt>  <tt class="py-line"><tt class="py-docstring">        @param preProc: callables that will pre process a service request</tt> </tt>
<a name="L330"></a><tt class="py-lineno">330</tt>  <tt class="py-line"><tt class="py-docstring">        @type preProc: list</tt> </tt>
<a name="L331"></a><tt class="py-lineno">331</tt>  <tt class="py-line"><tt class="py-docstring">        @param postProc: callables that will post process a service response</tt> </tt>
<a name="L332"></a><tt class="py-lineno">332</tt>  <tt class="py-line"><tt class="py-docstring">        @type postProc: list</tt> </tt>
<a name="L333"></a><tt class="py-lineno">333</tt>  <tt class="py-line"><tt class="py-docstring">        @param kwargs: extra arguments (with values) to pass to the method</tt> </tt>
<a name="L334"></a><tt class="py-lineno">334</tt>  <tt class="py-line"><tt class="py-docstring">        @type kwargs: dict</tt> </tt>
<a name="L335"></a><tt class="py-lineno">335</tt>  <tt class="py-line"><tt class="py-docstring">        '''</tt> </tt>
<a name="L336"></a><tt class="py-lineno">336</tt>  <tt class="py-line">        <tt id="link-26" class="py-name"><a title="bfpy.bfservice.ServiceDef" class="py-name" href="#" onclick="return doclink('link-26', 'ServiceDef', 'link-20');">ServiceDef</a></tt><tt class="py-op">.</tt><tt id="link-27" class="py-name"><a title="bfpy.bfapi.BfApi.MinStake.__init__
bfpy.bfapi.BfApi.__init__
bfpy.bfapicalls.ApiCall.__init__
bfpy.bfapicalls.ApiCallExchange.__init__
bfpy.bfapicalls.ApiCallGlobal.__init__
bfpy.bfapicalls.ApiCallVendor.__init__
bfpy.bfclient.BfClient.__init__
bfpy.bfclientext.GetCurrentBets.__init__
bfpy.bfclientext.GetEvents.__init__
bfpy.bfclientext.PlaceBets.__init__
bfpy.bfcounter.DataCounter.__init__
bfpy.bfcounter.DataRequest.__init__
bfpy.bfdirect.ApiService.__init__
bfpy.bferror.BfApiError.__init__
bfpy.bferror.BfApplicationError.__init__
bfpy.bferror.BfBetfairError.__init__
bfpy.bferror.BfError.__init__
bfpy.bferror.BfHtmlError.__init__
bfpy.bferror.BfHttpError.__init__
bfpy.bferror.BfNetworkError.__init__
bfpy.bferror.BfPythonError.__init__
bfpy.bferror.BfServiceError.__init__
bfpy.bferror.BfTransportError.__init__
bfpy.bfprocessors.ArrayFix.__init__
bfpy.bfprocessors.ProcMarketPricesCompressed.__init__
bfpy.bfservice.ExchangeObject.__init__
bfpy.bfservice.ExchangeServiceDef.__init__
bfpy.bfservice.GlobalObject.__init__
bfpy.bfservice.GlobalServiceDef.__init__
bfpy.bfservice.ServiceDef.__init__
bfpy.bfservice.ServiceDescriptor.__init__
bfpy.bfservice.ServiceObject.__init__
bfpy.bfservice.VendorObject.__init__
bfpy.bfservice.VendorServiceDef.__init__
bfpy.bftimezone.LocalTimezone.__init__
bfpy.bftransport.BfTransport.__init__
bfpy.bftransport.BfTransportError.__init__
bfpy.bftransport.BfTransportHtmlError.__init__
bfpy.bftransport.BfTransportHttpError.__init__
bfpy.bftransport.BfTransportReply.__init__
bfpy.bftransport.BfTransportRequest.__init__
bfpy.bftransport.BfTransportSocketError.__init__
bfpy.bftypes.APIRequestHeader.__init__
bfpy.bftypes.AddPaymentCardReq.__init__
bfpy.bftypes.ApiDataType.__init__
bfpy.bftypes.ApiParam.__init__
bfpy.bftypes.CancelBets.__init__
bfpy.bftypes.CancelBetsByMarketReq.__init__
bfpy.bftypes.CancelBetsReq.__init__
bfpy.bftypes.CancelVendorAccessRequestReq.__init__
bfpy.bftypes.ConvertCurrencyReq.__init__
bfpy.bftypes.CreateVendorAccessRequestReq.__init__
bfpy.bftypes.DeletePaymentCardReq.__init__
bfpy.bftypes.DepositFromPaymentCardReq.__init__
bfpy.bftypes.ForgotPasswordReq.__init__
bfpy.bftypes.GetAccountFundsReq.__init__
bfpy.bftypes.GetAccountStatementReq.__init__
bfpy.bftypes.GetAllMarketsReq.__init__
bfpy.bftypes.GetBetHistoryReq.__init__
bfpy.bftypes.GetBetLiteReq.__init__
bfpy.bftypes.GetBetMatchesLiteReq.__init__
bfpy.bftypes.GetBetReq.__init__
bfpy.bftypes.GetCompleteMarketPricesCompressedReq.__init__
bfpy.bftypes.GetCurrenciesReq.__init__
bfpy.bftypes.GetCurrenciesV2Req.__init__
bfpy.bftypes.GetCurrentBetsLiteReq.__init__
bfpy.bftypes.GetCurrentBetsReq.__init__
bfpy.bftypes.GetDetailedAvailableMktDepthReq.__init__
bfpy.bftypes.GetEventTypesReq.__init__
bfpy.bftypes.GetEventsReq.__init__
bfpy.bftypes.GetInPlayMarketsReq.__init__
bfpy.bftypes.GetMUBetsLiteReq.__init__
bfpy.bftypes.GetMUBetsReq.__init__
bfpy.bftypes.GetMarketInfoReq.__init__
bfpy.bftypes.GetMarketPricesCompressedReq.__init__
bfpy.bftypes.GetMarketPricesReq.__init__
bfpy.bftypes.GetMarketProfitAndLossReq.__init__
bfpy.bftypes.GetMarketReq.__init__
bfpy.bftypes.GetMarketTradedVolumeCompressedReq.__init__
bfpy.bftypes.GetMarketTradedVolumeReq.__init__
bfpy.bftypes.GetPaymentCardReq.__init__
bfpy.bftypes.GetPrivateMarketsReq.__init__
bfpy.bftypes.GetSilksReq.__init__
bfpy.bftypes.GetSilksV2Req.__init__
bfpy.bftypes.GetSubscriptionInfoReq.__init__
bfpy.bftypes.GetVendorAccessRequestsReq.__init__
bfpy.bftypes.GetVendorInfoReq.__init__
bfpy.bftypes.GetVendorUsersReq.__init__
bfpy.bftypes.KeepAliveReq.__init__
bfpy.bftypes.LoginReq.__init__
bfpy.bftypes.LogoutReq.__init__
bfpy.bftypes.ModifyPasswordReq.__init__
bfpy.bftypes.ModifyProfileReq.__init__
bfpy.bftypes.PlaceBets.__init__
bfpy.bftypes.PlaceBetsReq.__init__
bfpy.bftypes.RetrieveLIMBMessageReq.__init__
bfpy.bftypes.SelfExcludeReq.__init__
bfpy.bftypes.SetChatNameReq.__init__
bfpy.bftypes.SubmitLIMBMessageReq.__init__
bfpy.bftypes.TransferFundsReq.__init__
bfpy.bftypes.UpdateBets.__init__
bfpy.bftypes.UpdateBetsReq.__init__
bfpy.bftypes.UpdatePaymentCardReq.__init__
bfpy.bftypes.VendorSubscriptionReq.__init__
bfpy.bftypes.ViewProfileReq.__init__
bfpy.bftypes.ViewProfileV2Req.__init__
bfpy.bftypes.ViewReferAndEarnReq.__init__
bfpy.bftypes.WithdrawToPaymentCardReq.__init__
bfpy.bfutil.EmptyObject.__init__
bfpy.bfutil.FactoryClass.__init__
bfpy.bfutil.SharedData.__init__" class="py-name" href="#" onclick="return doclink('link-27', '__init__', 'link-3');">__init__</a></tt><tt class="py-op">(</tt> </tt>
<a name="L337"></a><tt class="py-lineno">337</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">,</tt> <tt id="link-28" class="py-name"><a title="bfpy.bfglobals" class="py-name" href="#" onclick="return doclink('link-28', 'bfglobals', 'link-1');">bfglobals</a></tt><tt class="py-op">.</tt><tt id="link-29" class="py-name" targets="Variable bfpy.Exchange=bfpy-module.html#Exchange,Variable bfpy.bfglobals.Exchange=bfpy.bfglobals-module.html#Exchange"><a title="bfpy.Exchange
bfpy.bfglobals.Exchange" class="py-name" href="#" onclick="return doclink('link-29', 'Exchange', 'link-29');">Exchange</a></tt><tt class="py-op">,</tt> </tt>
<a name="L338"></a><tt class="py-lineno">338</tt>  <tt class="py-line">            <tt class="py-name">methodName</tt><tt class="py-op">,</tt> <tt class="py-name">serviceName</tt><tt class="py-op">=</tt><tt class="py-name">serviceName</tt><tt class="py-op">,</tt> <tt class="py-name">requestName</tt><tt class="py-op">=</tt><tt class="py-name">requestName</tt><tt class="py-op">,</tt> </tt>
<a name="L339"></a><tt class="py-lineno">339</tt>  <tt class="py-line">            <tt class="py-name">apiHeader</tt><tt class="py-op">=</tt><tt class="py-name">apiHeader</tt><tt class="py-op">,</tt> <tt class="py-name">skipErrorCodes</tt><tt class="py-op">=</tt><tt class="py-name">skipErrorCodes</tt><tt class="py-op">,</tt> </tt>
<a name="L340"></a><tt class="py-lineno">340</tt>  <tt class="py-line">            <tt class="py-name">preProc</tt><tt class="py-op">=</tt><tt class="py-name">preProc</tt><tt class="py-op">,</tt> <tt class="py-name">postProc</tt><tt class="py-op">=</tt><tt class="py-name">postProc</tt><tt class="py-op">,</tt> <tt id="link-30" class="py-name"><a title="bfpy.bfcounter.DataCounter.weight
bfpy.bfcounter.DataRequest.weight" class="py-name" href="#" onclick="return doclink('link-30', 'weight', 'link-4');">weight</a></tt><tt class="py-op">=</tt><tt id="link-31" class="py-name"><a title="bfpy.bfcounter.DataCounter.weight
bfpy.bfcounter.DataRequest.weight" class="py-name" href="#" onclick="return doclink('link-31', 'weight', 'link-4');">weight</a></tt><tt class="py-op">,</tt> </tt>
<a name="L341"></a><tt class="py-lineno">341</tt>  <tt class="py-line">            <tt class="py-op">**</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L342"></a><tt class="py-lineno">342</tt>  <tt class="py-line"> </tt>
<a name="L343"></a><tt class="py-lineno">343</tt>  <tt class="py-line"> </tt>
<a name="L344"></a><tt class="py-lineno">344</tt>  <tt class="py-line"><tt class="py-comment">##############################################</tt> </tt>
<a name="L345"></a><tt class="py-lineno">345</tt>  <tt class="py-line"><tt class="py-comment"># Abstract implementation of Vendor API calls</tt> </tt>
<a name="L346"></a><tt class="py-lineno">346</tt>  <tt class="py-line"><tt class="py-comment">##############################################</tt> </tt>
<a name="VendorServiceDef"></a><div id="VendorServiceDef-def"><a name="L347"></a><tt class="py-lineno">347</tt> <a class="py-toggle" href="#" id="VendorServiceDef-toggle" onclick="return toggle('VendorServiceDef');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="bfpy.bfservice.VendorServiceDef-class.html">VendorServiceDef</a><tt class="py-op">(</tt><tt class="py-base-class">ServiceDef</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="VendorServiceDef-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="VendorServiceDef-expanded"><a name="L348"></a><tt class="py-lineno">348</tt>  <tt class="py-line">    <tt class="py-docstring">'''</tt> </tt>
<a name="L349"></a><tt class="py-lineno">349</tt>  <tt class="py-line"><tt class="py-docstring">    Service Definition for vendor services. It is a ServiceDefinition</tt> </tt>
<a name="L350"></a><tt class="py-lineno">350</tt>  <tt class="py-line"><tt class="py-docstring">    subclass with the endPoint set to the vendor value</tt> </tt>
<a name="L351"></a><tt class="py-lineno">351</tt>  <tt class="py-line"><tt class="py-docstring">    '''</tt> </tt>
<a name="L352"></a><tt class="py-lineno">352</tt>  <tt class="py-line"> </tt>
<a name="VendorServiceDef.__init__"></a><div id="VendorServiceDef.__init__-def"><a name="L353"></a><tt class="py-lineno">353</tt> <a class="py-toggle" href="#" id="VendorServiceDef.__init__-toggle" onclick="return toggle('VendorServiceDef.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="bfpy.bfservice.VendorServiceDef-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> </tt>
<a name="L354"></a><tt class="py-lineno">354</tt>  <tt class="py-line">                 <tt class="py-param">methodName</tt><tt class="py-op">,</tt> <tt class="py-param">serviceName</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">requestName</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
<a name="L355"></a><tt class="py-lineno">355</tt>  <tt class="py-line">                 <tt class="py-param">apiHeader</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">,</tt> <tt class="py-param">skipErrorCodes</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
<a name="L356"></a><tt class="py-lineno">356</tt>  <tt class="py-line">                 <tt class="py-param">preProc</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">postProc</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">weight</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> </tt>
<a name="L357"></a><tt class="py-lineno">357</tt>  <tt class="py-line">                 <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="VendorServiceDef.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="VendorServiceDef.__init__-expanded"><a name="L358"></a><tt class="py-lineno">358</tt>  <tt class="py-line">        <tt class="py-docstring">'''</tt> </tt>
<a name="L359"></a><tt class="py-lineno">359</tt>  <tt class="py-line"><tt class="py-docstring">        Initializes the service and variables, setting the the</tt> </tt>
<a name="L360"></a><tt class="py-lineno">360</tt>  <tt class="py-line"><tt class="py-docstring">        endPoint to the vendor endPoint (-1)</tt> </tt>
<a name="L361"></a><tt class="py-lineno">361</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L362"></a><tt class="py-lineno">362</tt>  <tt class="py-line"><tt class="py-docstring">        @param methodName: name the method will be invoked by</tt> </tt>
<a name="L363"></a><tt class="py-lineno">363</tt>  <tt class="py-line"><tt class="py-docstring">        @type methodName: str</tt> </tt>
<a name="L364"></a><tt class="py-lineno">364</tt>  <tt class="py-line"><tt class="py-docstring">        @param serviceName: name of the service to invoke</tt> </tt>
<a name="L365"></a><tt class="py-lineno">365</tt>  <tt class="py-line"><tt class="py-docstring">        @type serviceName: str</tt> </tt>
<a name="L366"></a><tt class="py-lineno">366</tt>  <tt class="py-line"><tt class="py-docstring">        @param requestName: name of the request to pass to the service</tt> </tt>
<a name="L367"></a><tt class="py-lineno">367</tt>  <tt class="py-line"><tt class="py-docstring">        @type requestName: str</tt> </tt>
<a name="L368"></a><tt class="py-lineno">368</tt>  <tt class="py-line"><tt class="py-docstring">        @param apiHeader: whether to add an API header to the request</tt> </tt>
<a name="L369"></a><tt class="py-lineno">369</tt>  <tt class="py-line"><tt class="py-docstring">        @type apiHeader: bool</tt> </tt>
<a name="L370"></a><tt class="py-lineno">370</tt>  <tt class="py-line"><tt class="py-docstring">        @param skipErrorCodes: errorCodes that will not signal an error</tt> </tt>
<a name="L371"></a><tt class="py-lineno">371</tt>  <tt class="py-line"><tt class="py-docstring">        @type skipErrorCodes: list</tt> </tt>
<a name="L372"></a><tt class="py-lineno">372</tt>  <tt class="py-line"><tt class="py-docstring">        @param preProc: callables that will pre process a service request</tt> </tt>
<a name="L373"></a><tt class="py-lineno">373</tt>  <tt class="py-line"><tt class="py-docstring">        @type preProc: list</tt> </tt>
<a name="L374"></a><tt class="py-lineno">374</tt>  <tt class="py-line"><tt class="py-docstring">        @param postProc: callables that will post process a service response</tt> </tt>
<a name="L375"></a><tt class="py-lineno">375</tt>  <tt class="py-line"><tt class="py-docstring">        @type postProc: list</tt> </tt>
<a name="L376"></a><tt class="py-lineno">376</tt>  <tt class="py-line"><tt class="py-docstring">        @param kwargs: extra arguments (with values) to pass to the method</tt> </tt>
<a name="L377"></a><tt class="py-lineno">377</tt>  <tt class="py-line"><tt class="py-docstring">        @type kwargs: dict</tt> </tt>
<a name="L378"></a><tt class="py-lineno">378</tt>  <tt class="py-line"><tt class="py-docstring">        '''</tt> </tt>
<a name="L379"></a><tt class="py-lineno">379</tt>  <tt class="py-line"> </tt>
<a name="L380"></a><tt class="py-lineno">380</tt>  <tt class="py-line">        <tt id="link-32" class="py-name"><a title="bfpy.bfservice.ServiceDef" class="py-name" href="#" onclick="return doclink('link-32', 'ServiceDef', 'link-20');">ServiceDef</a></tt><tt class="py-op">.</tt><tt id="link-33" class="py-name"><a title="bfpy.bfapi.BfApi.MinStake.__init__
bfpy.bfapi.BfApi.__init__
bfpy.bfapicalls.ApiCall.__init__
bfpy.bfapicalls.ApiCallExchange.__init__
bfpy.bfapicalls.ApiCallGlobal.__init__
bfpy.bfapicalls.ApiCallVendor.__init__
bfpy.bfclient.BfClient.__init__
bfpy.bfclientext.GetCurrentBets.__init__
bfpy.bfclientext.GetEvents.__init__
bfpy.bfclientext.PlaceBets.__init__
bfpy.bfcounter.DataCounter.__init__
bfpy.bfcounter.DataRequest.__init__
bfpy.bfdirect.ApiService.__init__
bfpy.bferror.BfApiError.__init__
bfpy.bferror.BfApplicationError.__init__
bfpy.bferror.BfBetfairError.__init__
bfpy.bferror.BfError.__init__
bfpy.bferror.BfHtmlError.__init__
bfpy.bferror.BfHttpError.__init__
bfpy.bferror.BfNetworkError.__init__
bfpy.bferror.BfPythonError.__init__
bfpy.bferror.BfServiceError.__init__
bfpy.bferror.BfTransportError.__init__
bfpy.bfprocessors.ArrayFix.__init__
bfpy.bfprocessors.ProcMarketPricesCompressed.__init__
bfpy.bfservice.ExchangeObject.__init__
bfpy.bfservice.ExchangeServiceDef.__init__
bfpy.bfservice.GlobalObject.__init__
bfpy.bfservice.GlobalServiceDef.__init__
bfpy.bfservice.ServiceDef.__init__
bfpy.bfservice.ServiceDescriptor.__init__
bfpy.bfservice.ServiceObject.__init__
bfpy.bfservice.VendorObject.__init__
bfpy.bfservice.VendorServiceDef.__init__
bfpy.bftimezone.LocalTimezone.__init__
bfpy.bftransport.BfTransport.__init__
bfpy.bftransport.BfTransportError.__init__
bfpy.bftransport.BfTransportHtmlError.__init__
bfpy.bftransport.BfTransportHttpError.__init__
bfpy.bftransport.BfTransportReply.__init__
bfpy.bftransport.BfTransportRequest.__init__
bfpy.bftransport.BfTransportSocketError.__init__
bfpy.bftypes.APIRequestHeader.__init__
bfpy.bftypes.AddPaymentCardReq.__init__
bfpy.bftypes.ApiDataType.__init__
bfpy.bftypes.ApiParam.__init__
bfpy.bftypes.CancelBets.__init__
bfpy.bftypes.CancelBetsByMarketReq.__init__
bfpy.bftypes.CancelBetsReq.__init__
bfpy.bftypes.CancelVendorAccessRequestReq.__init__
bfpy.bftypes.ConvertCurrencyReq.__init__
bfpy.bftypes.CreateVendorAccessRequestReq.__init__
bfpy.bftypes.DeletePaymentCardReq.__init__
bfpy.bftypes.DepositFromPaymentCardReq.__init__
bfpy.bftypes.ForgotPasswordReq.__init__
bfpy.bftypes.GetAccountFundsReq.__init__
bfpy.bftypes.GetAccountStatementReq.__init__
bfpy.bftypes.GetAllMarketsReq.__init__
bfpy.bftypes.GetBetHistoryReq.__init__
bfpy.bftypes.GetBetLiteReq.__init__
bfpy.bftypes.GetBetMatchesLiteReq.__init__
bfpy.bftypes.GetBetReq.__init__
bfpy.bftypes.GetCompleteMarketPricesCompressedReq.__init__
bfpy.bftypes.GetCurrenciesReq.__init__
bfpy.bftypes.GetCurrenciesV2Req.__init__
bfpy.bftypes.GetCurrentBetsLiteReq.__init__
bfpy.bftypes.GetCurrentBetsReq.__init__
bfpy.bftypes.GetDetailedAvailableMktDepthReq.__init__
bfpy.bftypes.GetEventTypesReq.__init__
bfpy.bftypes.GetEventsReq.__init__
bfpy.bftypes.GetInPlayMarketsReq.__init__
bfpy.bftypes.GetMUBetsLiteReq.__init__
bfpy.bftypes.GetMUBetsReq.__init__
bfpy.bftypes.GetMarketInfoReq.__init__
bfpy.bftypes.GetMarketPricesCompressedReq.__init__
bfpy.bftypes.GetMarketPricesReq.__init__
bfpy.bftypes.GetMarketProfitAndLossReq.__init__
bfpy.bftypes.GetMarketReq.__init__
bfpy.bftypes.GetMarketTradedVolumeCompressedReq.__init__
bfpy.bftypes.GetMarketTradedVolumeReq.__init__
bfpy.bftypes.GetPaymentCardReq.__init__
bfpy.bftypes.GetPrivateMarketsReq.__init__
bfpy.bftypes.GetSilksReq.__init__
bfpy.bftypes.GetSilksV2Req.__init__
bfpy.bftypes.GetSubscriptionInfoReq.__init__
bfpy.bftypes.GetVendorAccessRequestsReq.__init__
bfpy.bftypes.GetVendorInfoReq.__init__
bfpy.bftypes.GetVendorUsersReq.__init__
bfpy.bftypes.KeepAliveReq.__init__
bfpy.bftypes.LoginReq.__init__
bfpy.bftypes.LogoutReq.__init__
bfpy.bftypes.ModifyPasswordReq.__init__
bfpy.bftypes.ModifyProfileReq.__init__
bfpy.bftypes.PlaceBets.__init__
bfpy.bftypes.PlaceBetsReq.__init__
bfpy.bftypes.RetrieveLIMBMessageReq.__init__
bfpy.bftypes.SelfExcludeReq.__init__
bfpy.bftypes.SetChatNameReq.__init__
bfpy.bftypes.SubmitLIMBMessageReq.__init__
bfpy.bftypes.TransferFundsReq.__init__
bfpy.bftypes.UpdateBets.__init__
bfpy.bftypes.UpdateBetsReq.__init__
bfpy.bftypes.UpdatePaymentCardReq.__init__
bfpy.bftypes.VendorSubscriptionReq.__init__
bfpy.bftypes.ViewProfileReq.__init__
bfpy.bftypes.ViewProfileV2Req.__init__
bfpy.bftypes.ViewReferAndEarnReq.__init__
bfpy.bftypes.WithdrawToPaymentCardReq.__init__
bfpy.bfutil.EmptyObject.__init__
bfpy.bfutil.FactoryClass.__init__
bfpy.bfutil.SharedData.__init__" class="py-name" href="#" onclick="return doclink('link-33', '__init__', 'link-3');">__init__</a></tt><tt class="py-op">(</tt> </tt>
<a name="L381"></a><tt class="py-lineno">381</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">,</tt> <tt id="link-34" class="py-name"><a title="bfpy.bfglobals" class="py-name" href="#" onclick="return doclink('link-34', 'bfglobals', 'link-1');">bfglobals</a></tt><tt class="py-op">.</tt><tt id="link-35" class="py-name" targets="Variable bfpy.Vendor=bfpy-module.html#Vendor,Variable bfpy.bfglobals.Vendor=bfpy.bfglobals-module.html#Vendor"><a title="bfpy.Vendor
bfpy.bfglobals.Vendor" class="py-name" href="#" onclick="return doclink('link-35', 'Vendor', 'link-35');">Vendor</a></tt><tt class="py-op">,</tt> </tt>
<a name="L382"></a><tt class="py-lineno">382</tt>  <tt class="py-line">            <tt class="py-name">methodName</tt><tt class="py-op">,</tt> <tt class="py-name">serviceName</tt><tt class="py-op">=</tt><tt class="py-name">serviceName</tt><tt class="py-op">,</tt> <tt class="py-name">requestName</tt><tt class="py-op">=</tt><tt class="py-name">requestName</tt><tt class="py-op">,</tt> </tt>
<a name="L383"></a><tt class="py-lineno">383</tt>  <tt class="py-line">            <tt class="py-name">apiHeader</tt><tt class="py-op">=</tt><tt class="py-name">apiHeader</tt><tt class="py-op">,</tt> <tt class="py-name">skipErrorCodes</tt><tt class="py-op">=</tt><tt class="py-name">skipErrorCodes</tt><tt class="py-op">,</tt> </tt>
<a name="L384"></a><tt class="py-lineno">384</tt>  <tt class="py-line">            <tt class="py-name">preProc</tt><tt class="py-op">=</tt><tt class="py-name">preProc</tt><tt class="py-op">,</tt> <tt class="py-name">postProc</tt><tt class="py-op">=</tt><tt class="py-name">postProc</tt><tt class="py-op">,</tt> <tt id="link-36" class="py-name"><a title="bfpy.bfcounter.DataCounter.weight
bfpy.bfcounter.DataRequest.weight" class="py-name" href="#" onclick="return doclink('link-36', 'weight', 'link-4');">weight</a></tt><tt class="py-op">=</tt><tt id="link-37" class="py-name"><a title="bfpy.bfcounter.DataCounter.weight
bfpy.bfcounter.DataRequest.weight" class="py-name" href="#" onclick="return doclink('link-37', 'weight', 'link-4');">weight</a></tt><tt class="py-op">,</tt> </tt>
<a name="L385"></a><tt class="py-lineno">385</tt>  <tt class="py-line">            <tt class="py-op">**</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L386"></a><tt class="py-lineno">386</tt>  <tt class="py-line"> </tt>
<a name="L387"></a><tt class="py-lineno">387</tt>  <tt class="py-line"> </tt>
<a name="ServiceObject"></a><div id="ServiceObject-def"><a name="L388"></a><tt class="py-lineno">388</tt> <a class="py-toggle" href="#" id="ServiceObject-toggle" onclick="return toggle('ServiceObject');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="bfpy.bfservice.ServiceObject-class.html">ServiceObject</a><tt class="py-op">(</tt><tt class="py-base-class">ServiceDescriptor</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ServiceObject-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="ServiceObject-expanded"><a name="L389"></a><tt class="py-lineno">389</tt>  <tt class="py-line">    <tt class="py-docstring">'''</tt> </tt>
<a name="L390"></a><tt class="py-lineno">390</tt>  <tt class="py-line"><tt class="py-docstring">    Service descriptor implementation to retrieve named objects defined</tt> </tt>
<a name="L391"></a><tt class="py-lineno">391</tt>  <tt class="py-line"><tt class="py-docstring">    for the services. This allows using those objects to return them with</tt> </tt>
<a name="L392"></a><tt class="py-lineno">392</tt>  <tt class="py-line"><tt class="py-docstring">    decompressed data from the Betfair API "getXXXCompressed" family</tt> </tt>
<a name="L393"></a><tt class="py-lineno">393</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L394"></a><tt class="py-lineno">394</tt>  <tt class="py-line"><tt class="py-docstring">    The method name will be automatically set to "create" + the name</tt> </tt>
<a name="L395"></a><tt class="py-lineno">395</tt>  <tt class="py-line"><tt class="py-docstring">    of the object</tt> </tt>
<a name="L396"></a><tt class="py-lineno">396</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L397"></a><tt class="py-lineno">397</tt>  <tt class="py-line"><tt class="py-docstring">    @ivar methodName: name the method will be invoked by</tt> </tt>
<a name="L398"></a><tt class="py-lineno">398</tt>  <tt class="py-line"><tt class="py-docstring">    @type methodName: str</tt> </tt>
<a name="L399"></a><tt class="py-lineno">399</tt>  <tt class="py-line"><tt class="py-docstring">    @ivar endPoint: location endPoint of the service (0 Global, 1 Exchange)</tt> </tt>
<a name="L400"></a><tt class="py-lineno">400</tt>  <tt class="py-line"><tt class="py-docstring">    @type endPoint: int</tt> </tt>
<a name="L401"></a><tt class="py-lineno">401</tt>  <tt class="py-line"><tt class="py-docstring">    @ivar objectName: name of the object to be retrieved</tt> </tt>
<a name="L402"></a><tt class="py-lineno">402</tt>  <tt class="py-line"><tt class="py-docstring">    @type objectName: str</tt> </tt>
<a name="L403"></a><tt class="py-lineno">403</tt>  <tt class="py-line"><tt class="py-docstring">    '''</tt> </tt>
<a name="L404"></a><tt class="py-lineno">404</tt>  <tt class="py-line">     </tt>
<a name="ServiceObject.__init__"></a><div id="ServiceObject.__init__-def"><a name="L405"></a><tt class="py-lineno">405</tt> <a class="py-toggle" href="#" id="ServiceObject.__init__-toggle" onclick="return toggle('ServiceObject.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="bfpy.bfservice.ServiceObject-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">endPoint</tt><tt class="py-op">,</tt> <tt class="py-param">objectName</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ServiceObject.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ServiceObject.__init__-expanded"><a name="L406"></a><tt class="py-lineno">406</tt>  <tt class="py-line">        <tt class="py-docstring">'''</tt> </tt>
<a name="L407"></a><tt class="py-lineno">407</tt>  <tt class="py-line"><tt class="py-docstring">        Initialize the instance and data members for later usage</tt> </tt>
<a name="L408"></a><tt class="py-lineno">408</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L409"></a><tt class="py-lineno">409</tt>  <tt class="py-line"><tt class="py-docstring">        @param endPoint: location endPoint of the service (0 Global, 1 Exchange)</tt> </tt>
<a name="L410"></a><tt class="py-lineno">410</tt>  <tt class="py-line"><tt class="py-docstring">        @type endPoint: int</tt> </tt>
<a name="L411"></a><tt class="py-lineno">411</tt>  <tt class="py-line"><tt class="py-docstring">        @param objectName: name of the object to be retrieved</tt> </tt>
<a name="L412"></a><tt class="py-lineno">412</tt>  <tt class="py-line"><tt class="py-docstring">        @type objectName: str</tt> </tt>
<a name="L413"></a><tt class="py-lineno">413</tt>  <tt class="py-line"><tt class="py-docstring">        @param kwargs: extra arguments (with values) to pass to the method</tt> </tt>
<a name="L414"></a><tt class="py-lineno">414</tt>  <tt class="py-line"><tt class="py-docstring">        @type kwargs: dict</tt> </tt>
<a name="L415"></a><tt class="py-lineno">415</tt>  <tt class="py-line"><tt class="py-docstring">        '''</tt> </tt>
<a name="L416"></a><tt class="py-lineno">416</tt>  <tt class="py-line">        <tt id="link-38" class="py-name"><a title="bfpy.bfservice.ServiceDescriptor" class="py-name" href="#" onclick="return doclink('link-38', 'ServiceDescriptor', 'link-2');">ServiceDescriptor</a></tt><tt class="py-op">.</tt><tt id="link-39" class="py-name"><a title="bfpy.bfapi.BfApi.MinStake.__init__
bfpy.bfapi.BfApi.__init__
bfpy.bfapicalls.ApiCall.__init__
bfpy.bfapicalls.ApiCallExchange.__init__
bfpy.bfapicalls.ApiCallGlobal.__init__
bfpy.bfapicalls.ApiCallVendor.__init__
bfpy.bfclient.BfClient.__init__
bfpy.bfclientext.GetCurrentBets.__init__
bfpy.bfclientext.GetEvents.__init__
bfpy.bfclientext.PlaceBets.__init__
bfpy.bfcounter.DataCounter.__init__
bfpy.bfcounter.DataRequest.__init__
bfpy.bfdirect.ApiService.__init__
bfpy.bferror.BfApiError.__init__
bfpy.bferror.BfApplicationError.__init__
bfpy.bferror.BfBetfairError.__init__
bfpy.bferror.BfError.__init__
bfpy.bferror.BfHtmlError.__init__
bfpy.bferror.BfHttpError.__init__
bfpy.bferror.BfNetworkError.__init__
bfpy.bferror.BfPythonError.__init__
bfpy.bferror.BfServiceError.__init__
bfpy.bferror.BfTransportError.__init__
bfpy.bfprocessors.ArrayFix.__init__
bfpy.bfprocessors.ProcMarketPricesCompressed.__init__
bfpy.bfservice.ExchangeObject.__init__
bfpy.bfservice.ExchangeServiceDef.__init__
bfpy.bfservice.GlobalObject.__init__
bfpy.bfservice.GlobalServiceDef.__init__
bfpy.bfservice.ServiceDef.__init__
bfpy.bfservice.ServiceDescriptor.__init__
bfpy.bfservice.ServiceObject.__init__
bfpy.bfservice.VendorObject.__init__
bfpy.bfservice.VendorServiceDef.__init__
bfpy.bftimezone.LocalTimezone.__init__
bfpy.bftransport.BfTransport.__init__
bfpy.bftransport.BfTransportError.__init__
bfpy.bftransport.BfTransportHtmlError.__init__
bfpy.bftransport.BfTransportHttpError.__init__
bfpy.bftransport.BfTransportReply.__init__
bfpy.bftransport.BfTransportRequest.__init__
bfpy.bftransport.BfTransportSocketError.__init__
bfpy.bftypes.APIRequestHeader.__init__
bfpy.bftypes.AddPaymentCardReq.__init__
bfpy.bftypes.ApiDataType.__init__
bfpy.bftypes.ApiParam.__init__
bfpy.bftypes.CancelBets.__init__
bfpy.bftypes.CancelBetsByMarketReq.__init__
bfpy.bftypes.CancelBetsReq.__init__
bfpy.bftypes.CancelVendorAccessRequestReq.__init__
bfpy.bftypes.ConvertCurrencyReq.__init__
bfpy.bftypes.CreateVendorAccessRequestReq.__init__
bfpy.bftypes.DeletePaymentCardReq.__init__
bfpy.bftypes.DepositFromPaymentCardReq.__init__
bfpy.bftypes.ForgotPasswordReq.__init__
bfpy.bftypes.GetAccountFundsReq.__init__
bfpy.bftypes.GetAccountStatementReq.__init__
bfpy.bftypes.GetAllMarketsReq.__init__
bfpy.bftypes.GetBetHistoryReq.__init__
bfpy.bftypes.GetBetLiteReq.__init__
bfpy.bftypes.GetBetMatchesLiteReq.__init__
bfpy.bftypes.GetBetReq.__init__
bfpy.bftypes.GetCompleteMarketPricesCompressedReq.__init__
bfpy.bftypes.GetCurrenciesReq.__init__
bfpy.bftypes.GetCurrenciesV2Req.__init__
bfpy.bftypes.GetCurrentBetsLiteReq.__init__
bfpy.bftypes.GetCurrentBetsReq.__init__
bfpy.bftypes.GetDetailedAvailableMktDepthReq.__init__
bfpy.bftypes.GetEventTypesReq.__init__
bfpy.bftypes.GetEventsReq.__init__
bfpy.bftypes.GetInPlayMarketsReq.__init__
bfpy.bftypes.GetMUBetsLiteReq.__init__
bfpy.bftypes.GetMUBetsReq.__init__
bfpy.bftypes.GetMarketInfoReq.__init__
bfpy.bftypes.GetMarketPricesCompressedReq.__init__
bfpy.bftypes.GetMarketPricesReq.__init__
bfpy.bftypes.GetMarketProfitAndLossReq.__init__
bfpy.bftypes.GetMarketReq.__init__
bfpy.bftypes.GetMarketTradedVolumeCompressedReq.__init__
bfpy.bftypes.GetMarketTradedVolumeReq.__init__
bfpy.bftypes.GetPaymentCardReq.__init__
bfpy.bftypes.GetPrivateMarketsReq.__init__
bfpy.bftypes.GetSilksReq.__init__
bfpy.bftypes.GetSilksV2Req.__init__
bfpy.bftypes.GetSubscriptionInfoReq.__init__
bfpy.bftypes.GetVendorAccessRequestsReq.__init__
bfpy.bftypes.GetVendorInfoReq.__init__
bfpy.bftypes.GetVendorUsersReq.__init__
bfpy.bftypes.KeepAliveReq.__init__
bfpy.bftypes.LoginReq.__init__
bfpy.bftypes.LogoutReq.__init__
bfpy.bftypes.ModifyPasswordReq.__init__
bfpy.bftypes.ModifyProfileReq.__init__
bfpy.bftypes.PlaceBets.__init__
bfpy.bftypes.PlaceBetsReq.__init__
bfpy.bftypes.RetrieveLIMBMessageReq.__init__
bfpy.bftypes.SelfExcludeReq.__init__
bfpy.bftypes.SetChatNameReq.__init__
bfpy.bftypes.SubmitLIMBMessageReq.__init__
bfpy.bftypes.TransferFundsReq.__init__
bfpy.bftypes.UpdateBets.__init__
bfpy.bftypes.UpdateBetsReq.__init__
bfpy.bftypes.UpdatePaymentCardReq.__init__
bfpy.bftypes.VendorSubscriptionReq.__init__
bfpy.bftypes.ViewProfileReq.__init__
bfpy.bftypes.ViewProfileV2Req.__init__
bfpy.bftypes.ViewReferAndEarnReq.__init__
bfpy.bftypes.WithdrawToPaymentCardReq.__init__
bfpy.bfutil.EmptyObject.__init__
bfpy.bfutil.FactoryClass.__init__
bfpy.bfutil.SharedData.__init__" class="py-name" href="#" onclick="return doclink('link-39', '__init__', 'link-3');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-string">'create'</tt> <tt class="py-op">+</tt> <tt class="py-name">objectName</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
<a name="L417"></a><tt class="py-lineno">417</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">endPoint</tt> <tt class="py-op">=</tt> <tt class="py-name">endPoint</tt> </tt>
<a name="L418"></a><tt class="py-lineno">418</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">objectName</tt> <tt class="py-op">=</tt> <tt class="py-name">objectName</tt> </tt>
</div><a name="L419"></a><tt class="py-lineno">419</tt>  <tt class="py-line"> </tt>
<a name="L420"></a><tt class="py-lineno">420</tt>  <tt class="py-line"> </tt>
<a name="ServiceObject.__call__"></a><div id="ServiceObject.__call__-def"><a name="L421"></a><tt class="py-lineno">421</tt> <a class="py-toggle" href="#" id="ServiceObject.__call__-toggle" onclick="return toggle('ServiceObject.__call__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="bfpy.bfservice.ServiceObject-class.html#__call__">__call__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">instance</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ServiceObject.__call__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ServiceObject.__call__-expanded"><a name="L422"></a><tt class="py-lineno">422</tt>  <tt class="py-line">        <tt class="py-docstring">'''</tt> </tt>
<a name="L423"></a><tt class="py-lineno">423</tt>  <tt class="py-line"><tt class="py-docstring">        Method implementation. It retrieves the object from the specified</tt> </tt>
<a name="L424"></a><tt class="py-lineno">424</tt>  <tt class="py-line"><tt class="py-docstring">        endPoint and fills in the values (default and provided) in the object</tt> </tt>
<a name="L425"></a><tt class="py-lineno">425</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L426"></a><tt class="py-lineno">426</tt>  <tt class="py-line"><tt class="py-docstring">        @param instance: object whose method is being invoked</tt> </tt>
<a name="L427"></a><tt class="py-lineno">427</tt>  <tt class="py-line"><tt class="py-docstring">        @type instance: object</tt> </tt>
<a name="L428"></a><tt class="py-lineno">428</tt>  <tt class="py-line"><tt class="py-docstring">        @param kwargs: extra arguments (with values) to pass to the method</tt> </tt>
<a name="L429"></a><tt class="py-lineno">429</tt>  <tt class="py-line"><tt class="py-docstring">        @type kwargs: dict</tt> </tt>
<a name="L430"></a><tt class="py-lineno">430</tt>  <tt class="py-line"><tt class="py-docstring">        '''</tt> </tt>
<a name="L431"></a><tt class="py-lineno">431</tt>  <tt class="py-line">        <tt class="py-comment"># Retrieve the object from the endPoint</tt> </tt>
<a name="L432"></a><tt class="py-lineno">432</tt>  <tt class="py-line">        <tt class="py-name">serviceObject</tt> <tt class="py-op">=</tt> <tt class="py-name">instance</tt><tt class="py-op">.</tt><tt id="link-40" class="py-name" targets="Method bfpy.bfapi.BfApi.getObject()=bfpy.bfapi.BfApi-class.html#getObject,Method bfpy.bfdirect.ApiService.getObject()=bfpy.bfdirect.ApiService-class.html#getObject"><a title="bfpy.bfapi.BfApi.getObject
bfpy.bfdirect.ApiService.getObject" class="py-name" href="#" onclick="return doclink('link-40', 'getObject', 'link-40');">getObject</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">endPoint</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">objectName</tt><tt class="py-op">,</tt> <tt class="py-name">create</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">)</tt> </tt>
<a name="L433"></a><tt class="py-lineno">433</tt>  <tt class="py-line"> </tt>
<a name="L434"></a><tt class="py-lineno">434</tt>  <tt class="py-line">        <tt class="py-comment"># get the default values and update them</tt> </tt>
<a name="L435"></a><tt class="py-lineno">435</tt>  <tt class="py-line">        <tt class="py-name">objArgs</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">kwargs</tt><tt class="py-op">.</tt><tt class="py-name">copy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L436"></a><tt class="py-lineno">436</tt>  <tt class="py-line">        <tt class="py-name">objArgs</tt><tt class="py-op">.</tt><tt class="py-name">update</tt><tt class="py-op">(</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
<a name="L437"></a><tt class="py-lineno">437</tt>  <tt class="py-line"> </tt>
<a name="L438"></a><tt class="py-lineno">438</tt>  <tt class="py-line">        <tt class="py-comment"># Fill in the object with the values</tt> </tt>
<a name="L439"></a><tt class="py-lineno">439</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">value</tt> <tt class="py-keyword">in</tt> <tt class="py-name">objArgs</tt><tt class="py-op">.</tt><tt class="py-name">iteritems</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L440"></a><tt class="py-lineno">440</tt>  <tt class="py-line">            <tt class="py-name">setattr</tt><tt class="py-op">(</tt><tt class="py-name">serviceObject</tt><tt class="py-op">,</tt> <tt class="py-name">name</tt><tt class="py-op">,</tt> <tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L441"></a><tt class="py-lineno">441</tt>  <tt class="py-line"> </tt>
<a name="L442"></a><tt class="py-lineno">442</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">serviceObject</tt> </tt>
</div></div><a name="L443"></a><tt class="py-lineno">443</tt>  <tt class="py-line"> </tt>
<a name="L444"></a><tt class="py-lineno">444</tt>  <tt class="py-line"> </tt>
<a name="GlobalObject"></a><div id="GlobalObject-def"><a name="L445"></a><tt class="py-lineno">445</tt> <a class="py-toggle" href="#" id="GlobalObject-toggle" onclick="return toggle('GlobalObject');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="bfpy.bfservice.GlobalObject-class.html">GlobalObject</a><tt class="py-op">(</tt><tt class="py-base-class">ServiceObject</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="GlobalObject-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="GlobalObject-expanded"><a name="L446"></a><tt class="py-lineno">446</tt>  <tt class="py-line">    <tt class="py-docstring">'''</tt> </tt>
<a name="L447"></a><tt class="py-lineno">447</tt>  <tt class="py-line"><tt class="py-docstring">    Subclass of ServiceObject to retrieve objects from the global endPoint (0)</tt> </tt>
<a name="L448"></a><tt class="py-lineno">448</tt>  <tt class="py-line"><tt class="py-docstring">    '''</tt> </tt>
<a name="L449"></a><tt class="py-lineno">449</tt>  <tt class="py-line"> </tt>
<a name="GlobalObject.__init__"></a><div id="GlobalObject.__init__-def"><a name="L450"></a><tt class="py-lineno">450</tt> <a class="py-toggle" href="#" id="GlobalObject.__init__-toggle" onclick="return toggle('GlobalObject.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="bfpy.bfservice.GlobalObject-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">objectName</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="GlobalObject.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="GlobalObject.__init__-expanded"><a name="L451"></a><tt class="py-lineno">451</tt>  <tt class="py-line">        <tt class="py-docstring">'''</tt> </tt>
<a name="L452"></a><tt class="py-lineno">452</tt>  <tt class="py-line"><tt class="py-docstring">        Initialize a ServiceObject with the global endPoint (0)</tt> </tt>
<a name="L453"></a><tt class="py-lineno">453</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L454"></a><tt class="py-lineno">454</tt>  <tt class="py-line"><tt class="py-docstring">        @param objectName: name of the object to be retrieved</tt> </tt>
<a name="L455"></a><tt class="py-lineno">455</tt>  <tt class="py-line"><tt class="py-docstring">        @type objectName: str</tt> </tt>
<a name="L456"></a><tt class="py-lineno">456</tt>  <tt class="py-line"><tt class="py-docstring">        @param kwargs: extra arguments (with values) to pass to the method</tt> </tt>
<a name="L457"></a><tt class="py-lineno">457</tt>  <tt class="py-line"><tt class="py-docstring">        @type kwargs: dict</tt> </tt>
<a name="L458"></a><tt class="py-lineno">458</tt>  <tt class="py-line"><tt class="py-docstring">        '''</tt> </tt>
<a name="L459"></a><tt class="py-lineno">459</tt>  <tt class="py-line">        <tt id="link-41" class="py-name" targets="Class bfpy.bfservice.ServiceObject=bfpy.bfservice.ServiceObject-class.html"><a title="bfpy.bfservice.ServiceObject" class="py-name" href="#" onclick="return doclink('link-41', 'ServiceObject', 'link-41');">ServiceObject</a></tt><tt class="py-op">.</tt><tt id="link-42" class="py-name"><a title="bfpy.bfapi.BfApi.MinStake.__init__
bfpy.bfapi.BfApi.__init__
bfpy.bfapicalls.ApiCall.__init__
bfpy.bfapicalls.ApiCallExchange.__init__
bfpy.bfapicalls.ApiCallGlobal.__init__
bfpy.bfapicalls.ApiCallVendor.__init__
bfpy.bfclient.BfClient.__init__
bfpy.bfclientext.GetCurrentBets.__init__
bfpy.bfclientext.GetEvents.__init__
bfpy.bfclientext.PlaceBets.__init__
bfpy.bfcounter.DataCounter.__init__
bfpy.bfcounter.DataRequest.__init__
bfpy.bfdirect.ApiService.__init__
bfpy.bferror.BfApiError.__init__
bfpy.bferror.BfApplicationError.__init__
bfpy.bferror.BfBetfairError.__init__
bfpy.bferror.BfError.__init__
bfpy.bferror.BfHtmlError.__init__
bfpy.bferror.BfHttpError.__init__
bfpy.bferror.BfNetworkError.__init__
bfpy.bferror.BfPythonError.__init__
bfpy.bferror.BfServiceError.__init__
bfpy.bferror.BfTransportError.__init__
bfpy.bfprocessors.ArrayFix.__init__
bfpy.bfprocessors.ProcMarketPricesCompressed.__init__
bfpy.bfservice.ExchangeObject.__init__
bfpy.bfservice.ExchangeServiceDef.__init__
bfpy.bfservice.GlobalObject.__init__
bfpy.bfservice.GlobalServiceDef.__init__
bfpy.bfservice.ServiceDef.__init__
bfpy.bfservice.ServiceDescriptor.__init__
bfpy.bfservice.ServiceObject.__init__
bfpy.bfservice.VendorObject.__init__
bfpy.bfservice.VendorServiceDef.__init__
bfpy.bftimezone.LocalTimezone.__init__
bfpy.bftransport.BfTransport.__init__
bfpy.bftransport.BfTransportError.__init__
bfpy.bftransport.BfTransportHtmlError.__init__
bfpy.bftransport.BfTransportHttpError.__init__
bfpy.bftransport.BfTransportReply.__init__
bfpy.bftransport.BfTransportRequest.__init__
bfpy.bftransport.BfTransportSocketError.__init__
bfpy.bftypes.APIRequestHeader.__init__
bfpy.bftypes.AddPaymentCardReq.__init__
bfpy.bftypes.ApiDataType.__init__
bfpy.bftypes.ApiParam.__init__
bfpy.bftypes.CancelBets.__init__
bfpy.bftypes.CancelBetsByMarketReq.__init__
bfpy.bftypes.CancelBetsReq.__init__
bfpy.bftypes.CancelVendorAccessRequestReq.__init__
bfpy.bftypes.ConvertCurrencyReq.__init__
bfpy.bftypes.CreateVendorAccessRequestReq.__init__
bfpy.bftypes.DeletePaymentCardReq.__init__
bfpy.bftypes.DepositFromPaymentCardReq.__init__
bfpy.bftypes.ForgotPasswordReq.__init__
bfpy.bftypes.GetAccountFundsReq.__init__
bfpy.bftypes.GetAccountStatementReq.__init__
bfpy.bftypes.GetAllMarketsReq.__init__
bfpy.bftypes.GetBetHistoryReq.__init__
bfpy.bftypes.GetBetLiteReq.__init__
bfpy.bftypes.GetBetMatchesLiteReq.__init__
bfpy.bftypes.GetBetReq.__init__
bfpy.bftypes.GetCompleteMarketPricesCompressedReq.__init__
bfpy.bftypes.GetCurrenciesReq.__init__
bfpy.bftypes.GetCurrenciesV2Req.__init__
bfpy.bftypes.GetCurrentBetsLiteReq.__init__
bfpy.bftypes.GetCurrentBetsReq.__init__
bfpy.bftypes.GetDetailedAvailableMktDepthReq.__init__
bfpy.bftypes.GetEventTypesReq.__init__
bfpy.bftypes.GetEventsReq.__init__
bfpy.bftypes.GetInPlayMarketsReq.__init__
bfpy.bftypes.GetMUBetsLiteReq.__init__
bfpy.bftypes.GetMUBetsReq.__init__
bfpy.bftypes.GetMarketInfoReq.__init__
bfpy.bftypes.GetMarketPricesCompressedReq.__init__
bfpy.bftypes.GetMarketPricesReq.__init__
bfpy.bftypes.GetMarketProfitAndLossReq.__init__
bfpy.bftypes.GetMarketReq.__init__
bfpy.bftypes.GetMarketTradedVolumeCompressedReq.__init__
bfpy.bftypes.GetMarketTradedVolumeReq.__init__
bfpy.bftypes.GetPaymentCardReq.__init__
bfpy.bftypes.GetPrivateMarketsReq.__init__
bfpy.bftypes.GetSilksReq.__init__
bfpy.bftypes.GetSilksV2Req.__init__
bfpy.bftypes.GetSubscriptionInfoReq.__init__
bfpy.bftypes.GetVendorAccessRequestsReq.__init__
bfpy.bftypes.GetVendorInfoReq.__init__
bfpy.bftypes.GetVendorUsersReq.__init__
bfpy.bftypes.KeepAliveReq.__init__
bfpy.bftypes.LoginReq.__init__
bfpy.bftypes.LogoutReq.__init__
bfpy.bftypes.ModifyPasswordReq.__init__
bfpy.bftypes.ModifyProfileReq.__init__
bfpy.bftypes.PlaceBets.__init__
bfpy.bftypes.PlaceBetsReq.__init__
bfpy.bftypes.RetrieveLIMBMessageReq.__init__
bfpy.bftypes.SelfExcludeReq.__init__
bfpy.bftypes.SetChatNameReq.__init__
bfpy.bftypes.SubmitLIMBMessageReq.__init__
bfpy.bftypes.TransferFundsReq.__init__
bfpy.bftypes.UpdateBets.__init__
bfpy.bftypes.UpdateBetsReq.__init__
bfpy.bftypes.UpdatePaymentCardReq.__init__
bfpy.bftypes.VendorSubscriptionReq.__init__
bfpy.bftypes.ViewProfileReq.__init__
bfpy.bftypes.ViewProfileV2Req.__init__
bfpy.bftypes.ViewReferAndEarnReq.__init__
bfpy.bftypes.WithdrawToPaymentCardReq.__init__
bfpy.bfutil.EmptyObject.__init__
bfpy.bfutil.FactoryClass.__init__
bfpy.bfutil.SharedData.__init__" class="py-name" href="#" onclick="return doclink('link-42', '__init__', 'link-3');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt id="link-43" class="py-name"><a title="bfpy.bfglobals" class="py-name" href="#" onclick="return doclink('link-43', 'bfglobals', 'link-1');">bfglobals</a></tt><tt class="py-op">.</tt><tt id="link-44" class="py-name"><a title="bfpy.Global
bfpy.bfglobals.Global" class="py-name" href="#" onclick="return doclink('link-44', 'Global', 'link-23');">Global</a></tt><tt class="py-op">,</tt> <tt class="py-name">objectName</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L460"></a><tt class="py-lineno">460</tt>  <tt class="py-line"> </tt>
<a name="L461"></a><tt class="py-lineno">461</tt>  <tt class="py-line"> </tt>
<a name="ExchangeObject"></a><div id="ExchangeObject-def"><a name="L462"></a><tt class="py-lineno">462</tt> <a class="py-toggle" href="#" id="ExchangeObject-toggle" onclick="return toggle('ExchangeObject');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="bfpy.bfservice.ExchangeObject-class.html">ExchangeObject</a><tt class="py-op">(</tt><tt class="py-base-class">ServiceObject</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExchangeObject-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="ExchangeObject-expanded"><a name="L463"></a><tt class="py-lineno">463</tt>  <tt class="py-line">    <tt class="py-docstring">'''</tt> </tt>
<a name="L464"></a><tt class="py-lineno">464</tt>  <tt class="py-line"><tt class="py-docstring">    Subclass of ServiceObject to retrieve objects from the exchange endPoint (1)</tt> </tt>
<a name="L465"></a><tt class="py-lineno">465</tt>  <tt class="py-line"><tt class="py-docstring">    '''</tt> </tt>
<a name="L466"></a><tt class="py-lineno">466</tt>  <tt class="py-line"> </tt>
<a name="ExchangeObject.__init__"></a><div id="ExchangeObject.__init__-def"><a name="L467"></a><tt class="py-lineno">467</tt> <a class="py-toggle" href="#" id="ExchangeObject.__init__-toggle" onclick="return toggle('ExchangeObject.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="bfpy.bfservice.ExchangeObject-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">objectName</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ExchangeObject.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ExchangeObject.__init__-expanded"><a name="L468"></a><tt class="py-lineno">468</tt>  <tt class="py-line">        <tt class="py-docstring">'''</tt> </tt>
<a name="L469"></a><tt class="py-lineno">469</tt>  <tt class="py-line"><tt class="py-docstring">        Initialize a ServiceObject with the exchange endPoint (1)</tt> </tt>
<a name="L470"></a><tt class="py-lineno">470</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L471"></a><tt class="py-lineno">471</tt>  <tt class="py-line"><tt class="py-docstring">        @param objectName: name of the object to be retrieved</tt> </tt>
<a name="L472"></a><tt class="py-lineno">472</tt>  <tt class="py-line"><tt class="py-docstring">        @type objectName: str</tt> </tt>
<a name="L473"></a><tt class="py-lineno">473</tt>  <tt class="py-line"><tt class="py-docstring">        @param kwargs: extra arguments (with values) to pass to the method</tt> </tt>
<a name="L474"></a><tt class="py-lineno">474</tt>  <tt class="py-line"><tt class="py-docstring">        @type kwargs: dict</tt> </tt>
<a name="L475"></a><tt class="py-lineno">475</tt>  <tt class="py-line"><tt class="py-docstring">        '''</tt> </tt>
<a name="L476"></a><tt class="py-lineno">476</tt>  <tt class="py-line">        <tt id="link-45" class="py-name"><a title="bfpy.bfservice.ServiceObject" class="py-name" href="#" onclick="return doclink('link-45', 'ServiceObject', 'link-41');">ServiceObject</a></tt><tt class="py-op">.</tt><tt id="link-46" class="py-name"><a title="bfpy.bfapi.BfApi.MinStake.__init__
bfpy.bfapi.BfApi.__init__
bfpy.bfapicalls.ApiCall.__init__
bfpy.bfapicalls.ApiCallExchange.__init__
bfpy.bfapicalls.ApiCallGlobal.__init__
bfpy.bfapicalls.ApiCallVendor.__init__
bfpy.bfclient.BfClient.__init__
bfpy.bfclientext.GetCurrentBets.__init__
bfpy.bfclientext.GetEvents.__init__
bfpy.bfclientext.PlaceBets.__init__
bfpy.bfcounter.DataCounter.__init__
bfpy.bfcounter.DataRequest.__init__
bfpy.bfdirect.ApiService.__init__
bfpy.bferror.BfApiError.__init__
bfpy.bferror.BfApplicationError.__init__
bfpy.bferror.BfBetfairError.__init__
bfpy.bferror.BfError.__init__
bfpy.bferror.BfHtmlError.__init__
bfpy.bferror.BfHttpError.__init__
bfpy.bferror.BfNetworkError.__init__
bfpy.bferror.BfPythonError.__init__
bfpy.bferror.BfServiceError.__init__
bfpy.bferror.BfTransportError.__init__
bfpy.bfprocessors.ArrayFix.__init__
bfpy.bfprocessors.ProcMarketPricesCompressed.__init__
bfpy.bfservice.ExchangeObject.__init__
bfpy.bfservice.ExchangeServiceDef.__init__
bfpy.bfservice.GlobalObject.__init__
bfpy.bfservice.GlobalServiceDef.__init__
bfpy.bfservice.ServiceDef.__init__
bfpy.bfservice.ServiceDescriptor.__init__
bfpy.bfservice.ServiceObject.__init__
bfpy.bfservice.VendorObject.__init__
bfpy.bfservice.VendorServiceDef.__init__
bfpy.bftimezone.LocalTimezone.__init__
bfpy.bftransport.BfTransport.__init__
bfpy.bftransport.BfTransportError.__init__
bfpy.bftransport.BfTransportHtmlError.__init__
bfpy.bftransport.BfTransportHttpError.__init__
bfpy.bftransport.BfTransportReply.__init__
bfpy.bftransport.BfTransportRequest.__init__
bfpy.bftransport.BfTransportSocketError.__init__
bfpy.bftypes.APIRequestHeader.__init__
bfpy.bftypes.AddPaymentCardReq.__init__
bfpy.bftypes.ApiDataType.__init__
bfpy.bftypes.ApiParam.__init__
bfpy.bftypes.CancelBets.__init__
bfpy.bftypes.CancelBetsByMarketReq.__init__
bfpy.bftypes.CancelBetsReq.__init__
bfpy.bftypes.CancelVendorAccessRequestReq.__init__
bfpy.bftypes.ConvertCurrencyReq.__init__
bfpy.bftypes.CreateVendorAccessRequestReq.__init__
bfpy.bftypes.DeletePaymentCardReq.__init__
bfpy.bftypes.DepositFromPaymentCardReq.__init__
bfpy.bftypes.ForgotPasswordReq.__init__
bfpy.bftypes.GetAccountFundsReq.__init__
bfpy.bftypes.GetAccountStatementReq.__init__
bfpy.bftypes.GetAllMarketsReq.__init__
bfpy.bftypes.GetBetHistoryReq.__init__
bfpy.bftypes.GetBetLiteReq.__init__
bfpy.bftypes.GetBetMatchesLiteReq.__init__
bfpy.bftypes.GetBetReq.__init__
bfpy.bftypes.GetCompleteMarketPricesCompressedReq.__init__
bfpy.bftypes.GetCurrenciesReq.__init__
bfpy.bftypes.GetCurrenciesV2Req.__init__
bfpy.bftypes.GetCurrentBetsLiteReq.__init__
bfpy.bftypes.GetCurrentBetsReq.__init__
bfpy.bftypes.GetDetailedAvailableMktDepthReq.__init__
bfpy.bftypes.GetEventTypesReq.__init__
bfpy.bftypes.GetEventsReq.__init__
bfpy.bftypes.GetInPlayMarketsReq.__init__
bfpy.bftypes.GetMUBetsLiteReq.__init__
bfpy.bftypes.GetMUBetsReq.__init__
bfpy.bftypes.GetMarketInfoReq.__init__
bfpy.bftypes.GetMarketPricesCompressedReq.__init__
bfpy.bftypes.GetMarketPricesReq.__init__
bfpy.bftypes.GetMarketProfitAndLossReq.__init__
bfpy.bftypes.GetMarketReq.__init__
bfpy.bftypes.GetMarketTradedVolumeCompressedReq.__init__
bfpy.bftypes.GetMarketTradedVolumeReq.__init__
bfpy.bftypes.GetPaymentCardReq.__init__
bfpy.bftypes.GetPrivateMarketsReq.__init__
bfpy.bftypes.GetSilksReq.__init__
bfpy.bftypes.GetSilksV2Req.__init__
bfpy.bftypes.GetSubscriptionInfoReq.__init__
bfpy.bftypes.GetVendorAccessRequestsReq.__init__
bfpy.bftypes.GetVendorInfoReq.__init__
bfpy.bftypes.GetVendorUsersReq.__init__
bfpy.bftypes.KeepAliveReq.__init__
bfpy.bftypes.LoginReq.__init__
bfpy.bftypes.LogoutReq.__init__
bfpy.bftypes.ModifyPasswordReq.__init__
bfpy.bftypes.ModifyProfileReq.__init__
bfpy.bftypes.PlaceBets.__init__
bfpy.bftypes.PlaceBetsReq.__init__
bfpy.bftypes.RetrieveLIMBMessageReq.__init__
bfpy.bftypes.SelfExcludeReq.__init__
bfpy.bftypes.SetChatNameReq.__init__
bfpy.bftypes.SubmitLIMBMessageReq.__init__
bfpy.bftypes.TransferFundsReq.__init__
bfpy.bftypes.UpdateBets.__init__
bfpy.bftypes.UpdateBetsReq.__init__
bfpy.bftypes.UpdatePaymentCardReq.__init__
bfpy.bftypes.VendorSubscriptionReq.__init__
bfpy.bftypes.ViewProfileReq.__init__
bfpy.bftypes.ViewProfileV2Req.__init__
bfpy.bftypes.ViewReferAndEarnReq.__init__
bfpy.bftypes.WithdrawToPaymentCardReq.__init__
bfpy.bfutil.EmptyObject.__init__
bfpy.bfutil.FactoryClass.__init__
bfpy.bfutil.SharedData.__init__" class="py-name" href="#" onclick="return doclink('link-46', '__init__', 'link-3');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt id="link-47" class="py-name"><a title="bfpy.bfglobals" class="py-name" href="#" onclick="return doclink('link-47', 'bfglobals', 'link-1');">bfglobals</a></tt><tt class="py-op">.</tt><tt id="link-48" class="py-name"><a title="bfpy.Exchange
bfpy.bfglobals.Exchange" class="py-name" href="#" onclick="return doclink('link-48', 'Exchange', 'link-29');">Exchange</a></tt><tt class="py-op">,</tt> <tt class="py-name">objectName</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L477"></a><tt class="py-lineno">477</tt>  <tt class="py-line"> </tt>
<a name="L478"></a><tt class="py-lineno">478</tt>  <tt class="py-line"> </tt>
<a name="VendorObject"></a><div id="VendorObject-def"><a name="L479"></a><tt class="py-lineno">479</tt> <a class="py-toggle" href="#" id="VendorObject-toggle" onclick="return toggle('VendorObject');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="bfpy.bfservice.VendorObject-class.html">VendorObject</a><tt class="py-op">(</tt><tt class="py-base-class">ServiceObject</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="VendorObject-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="VendorObject-expanded"><a name="L480"></a><tt class="py-lineno">480</tt>  <tt class="py-line">    <tt class="py-docstring">'''</tt> </tt>
<a name="L481"></a><tt class="py-lineno">481</tt>  <tt class="py-line"><tt class="py-docstring">    Subclass of ServiceObject to retrieve objects from the Vendor endPoint</tt> </tt>
<a name="L482"></a><tt class="py-lineno">482</tt>  <tt class="py-line"><tt class="py-docstring">    '''</tt> </tt>
<a name="L483"></a><tt class="py-lineno">483</tt>  <tt class="py-line"> </tt>
<a name="VendorObject.__init__"></a><div id="VendorObject.__init__-def"><a name="L484"></a><tt class="py-lineno">484</tt> <a class="py-toggle" href="#" id="VendorObject.__init__-toggle" onclick="return toggle('VendorObject.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="bfpy.bfservice.VendorObject-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">objectName</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="VendorObject.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="VendorObject.__init__-expanded"><a name="L485"></a><tt class="py-lineno">485</tt>  <tt class="py-line">        <tt class="py-docstring">'''</tt> </tt>
<a name="L486"></a><tt class="py-lineno">486</tt>  <tt class="py-line"><tt class="py-docstring">        Initialize a ServiceObject with the Vendor endPoint (-1)</tt> </tt>
<a name="L487"></a><tt class="py-lineno">487</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L488"></a><tt class="py-lineno">488</tt>  <tt class="py-line"><tt class="py-docstring">        @param objectName: name of the object to be retrieved</tt> </tt>
<a name="L489"></a><tt class="py-lineno">489</tt>  <tt class="py-line"><tt class="py-docstring">        @type objectName: str</tt> </tt>
<a name="L490"></a><tt class="py-lineno">490</tt>  <tt class="py-line"><tt class="py-docstring">        @param kwargs: extra arguments (with values) to pass to the method</tt> </tt>
<a name="L491"></a><tt class="py-lineno">491</tt>  <tt class="py-line"><tt class="py-docstring">        @type kwargs: dict</tt> </tt>
<a name="L492"></a><tt class="py-lineno">492</tt>  <tt class="py-line"><tt class="py-docstring">        '''</tt> </tt>
<a name="L493"></a><tt class="py-lineno">493</tt>  <tt class="py-line">        <tt id="link-49" class="py-name"><a title="bfpy.bfservice.ServiceObject" class="py-name" href="#" onclick="return doclink('link-49', 'ServiceObject', 'link-41');">ServiceObject</a></tt><tt class="py-op">.</tt><tt id="link-50" class="py-name"><a title="bfpy.bfapi.BfApi.MinStake.__init__
bfpy.bfapi.BfApi.__init__
bfpy.bfapicalls.ApiCall.__init__
bfpy.bfapicalls.ApiCallExchange.__init__
bfpy.bfapicalls.ApiCallGlobal.__init__
bfpy.bfapicalls.ApiCallVendor.__init__
bfpy.bfclient.BfClient.__init__
bfpy.bfclientext.GetCurrentBets.__init__
bfpy.bfclientext.GetEvents.__init__
bfpy.bfclientext.PlaceBets.__init__
bfpy.bfcounter.DataCounter.__init__
bfpy.bfcounter.DataRequest.__init__
bfpy.bfdirect.ApiService.__init__
bfpy.bferror.BfApiError.__init__
bfpy.bferror.BfApplicationError.__init__
bfpy.bferror.BfBetfairError.__init__
bfpy.bferror.BfError.__init__
bfpy.bferror.BfHtmlError.__init__
bfpy.bferror.BfHttpError.__init__
bfpy.bferror.BfNetworkError.__init__
bfpy.bferror.BfPythonError.__init__
bfpy.bferror.BfServiceError.__init__
bfpy.bferror.BfTransportError.__init__
bfpy.bfprocessors.ArrayFix.__init__
bfpy.bfprocessors.ProcMarketPricesCompressed.__init__
bfpy.bfservice.ExchangeObject.__init__
bfpy.bfservice.ExchangeServiceDef.__init__
bfpy.bfservice.GlobalObject.__init__
bfpy.bfservice.GlobalServiceDef.__init__
bfpy.bfservice.ServiceDef.__init__
bfpy.bfservice.ServiceDescriptor.__init__
bfpy.bfservice.ServiceObject.__init__
bfpy.bfservice.VendorObject.__init__
bfpy.bfservice.VendorServiceDef.__init__
bfpy.bftimezone.LocalTimezone.__init__
bfpy.bftransport.BfTransport.__init__
bfpy.bftransport.BfTransportError.__init__
bfpy.bftransport.BfTransportHtmlError.__init__
bfpy.bftransport.BfTransportHttpError.__init__
bfpy.bftransport.BfTransportReply.__init__
bfpy.bftransport.BfTransportRequest.__init__
bfpy.bftransport.BfTransportSocketError.__init__
bfpy.bftypes.APIRequestHeader.__init__
bfpy.bftypes.AddPaymentCardReq.__init__
bfpy.bftypes.ApiDataType.__init__
bfpy.bftypes.ApiParam.__init__
bfpy.bftypes.CancelBets.__init__
bfpy.bftypes.CancelBetsByMarketReq.__init__
bfpy.bftypes.CancelBetsReq.__init__
bfpy.bftypes.CancelVendorAccessRequestReq.__init__
bfpy.bftypes.ConvertCurrencyReq.__init__
bfpy.bftypes.CreateVendorAccessRequestReq.__init__
bfpy.bftypes.DeletePaymentCardReq.__init__
bfpy.bftypes.DepositFromPaymentCardReq.__init__
bfpy.bftypes.ForgotPasswordReq.__init__
bfpy.bftypes.GetAccountFundsReq.__init__
bfpy.bftypes.GetAccountStatementReq.__init__
bfpy.bftypes.GetAllMarketsReq.__init__
bfpy.bftypes.GetBetHistoryReq.__init__
bfpy.bftypes.GetBetLiteReq.__init__
bfpy.bftypes.GetBetMatchesLiteReq.__init__
bfpy.bftypes.GetBetReq.__init__
bfpy.bftypes.GetCompleteMarketPricesCompressedReq.__init__
bfpy.bftypes.GetCurrenciesReq.__init__
bfpy.bftypes.GetCurrenciesV2Req.__init__
bfpy.bftypes.GetCurrentBetsLiteReq.__init__
bfpy.bftypes.GetCurrentBetsReq.__init__
bfpy.bftypes.GetDetailedAvailableMktDepthReq.__init__
bfpy.bftypes.GetEventTypesReq.__init__
bfpy.bftypes.GetEventsReq.__init__
bfpy.bftypes.GetInPlayMarketsReq.__init__
bfpy.bftypes.GetMUBetsLiteReq.__init__
bfpy.bftypes.GetMUBetsReq.__init__
bfpy.bftypes.GetMarketInfoReq.__init__
bfpy.bftypes.GetMarketPricesCompressedReq.__init__
bfpy.bftypes.GetMarketPricesReq.__init__
bfpy.bftypes.GetMarketProfitAndLossReq.__init__
bfpy.bftypes.GetMarketReq.__init__
bfpy.bftypes.GetMarketTradedVolumeCompressedReq.__init__
bfpy.bftypes.GetMarketTradedVolumeReq.__init__
bfpy.bftypes.GetPaymentCardReq.__init__
bfpy.bftypes.GetPrivateMarketsReq.__init__
bfpy.bftypes.GetSilksReq.__init__
bfpy.bftypes.GetSilksV2Req.__init__
bfpy.bftypes.GetSubscriptionInfoReq.__init__
bfpy.bftypes.GetVendorAccessRequestsReq.__init__
bfpy.bftypes.GetVendorInfoReq.__init__
bfpy.bftypes.GetVendorUsersReq.__init__
bfpy.bftypes.KeepAliveReq.__init__
bfpy.bftypes.LoginReq.__init__
bfpy.bftypes.LogoutReq.__init__
bfpy.bftypes.ModifyPasswordReq.__init__
bfpy.bftypes.ModifyProfileReq.__init__
bfpy.bftypes.PlaceBets.__init__
bfpy.bftypes.PlaceBetsReq.__init__
bfpy.bftypes.RetrieveLIMBMessageReq.__init__
bfpy.bftypes.SelfExcludeReq.__init__
bfpy.bftypes.SetChatNameReq.__init__
bfpy.bftypes.SubmitLIMBMessageReq.__init__
bfpy.bftypes.TransferFundsReq.__init__
bfpy.bftypes.UpdateBets.__init__
bfpy.bftypes.UpdateBetsReq.__init__
bfpy.bftypes.UpdatePaymentCardReq.__init__
bfpy.bftypes.VendorSubscriptionReq.__init__
bfpy.bftypes.ViewProfileReq.__init__
bfpy.bftypes.ViewProfileV2Req.__init__
bfpy.bftypes.ViewReferAndEarnReq.__init__
bfpy.bftypes.WithdrawToPaymentCardReq.__init__
bfpy.bfutil.EmptyObject.__init__
bfpy.bfutil.FactoryClass.__init__
bfpy.bfutil.SharedData.__init__" class="py-name" href="#" onclick="return doclink('link-50', '__init__', 'link-3');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt id="link-51" class="py-name"><a title="bfpy.bfglobals" class="py-name" href="#" onclick="return doclink('link-51', 'bfglobals', 'link-1');">bfglobals</a></tt><tt class="py-op">.</tt><tt id="link-52" class="py-name"><a title="bfpy.Vendor
bfpy.bfglobals.Vendor" class="py-name" href="#" onclick="return doclink('link-52', 'Vendor', 'link-35');">Vendor</a></tt><tt class="py-op">,</tt> <tt class="py-name">objectName</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">kwargs</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L494"></a><tt class="py-lineno">494</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="bfpy-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/bfpy/">BfPy</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Sat Jun 04 02:13:36 2011
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
